Changelogs

Overview

These changelogs reflect the history of all files in the Subversion repository. The changelog has been generated at 2016-05-09 08:38:04

Changes per page:

25 50 100 250 500 1000 2000

Changelog for wxWidgets (70435 changes):

2010-04-24 12:02 JMS, revision 64120

In wxPropertyGrid::DoPropertyChanged(), call GetEditorControl() as late as possible so that editor can be changed in wxPGProperty::OnSetValue() (fixes #11987)

2010-04-24 09:06 VS, revision 64119

wxLocale::InitLanguagesDB() doesn't use wxStringTokenizer, remove it.

2010-04-24 09:06 VS, revision 64118

Split intl.h into intl.h, language.h and translation.h. To make the code more manageable, intl.h now contains wxLocale and translation.h all translations-related stuff (wxTranslations, _() etc.). Code generated by genlang.py was moved into its own files (language.h, languageinfo.cpp).

2010-04-24 09:06 VS, revision 64117

Split wxLocale into wxLocale and wxTranslations. wxTranslations is for handling gettext translations. wxLocale manages locale and provides compatiblity API for translations. Separating these two loosely related tasks makes it possible to use translations into languages not known by Windows or using localized GUI without all the locales compilations.

2010-04-24 09:06 VS, revision 64116

Fix typo in internat sample. Catalog should be added with domain name ("wxstd"), not file name ("wxstd.mo").

2010-04-23 21:34 VZ, revision 64115

Work around wrong client size computation for not yet shown maximized windows. The client size of maximized windows which hadn't been shown yet isn't computed correctly by wxMSW because WM_NCCALCSIZE returns too small values for some reason. Attempts to fix this were unsuccessful so just ensure that the window is re-laid out using the right size from WM_SIZE it receives when it is shown instead of using the wrong pending size. Closes #11762.

2010-04-23 14:59 CE, revision 64114

remove 2.9.1 from dated files

2010-04-22 16:57 VS, revision 64113

Fixed (correct) warning about uninitialized inputConv.

2010-04-22 16:16 VZ, revision 64112

Fix harmless warning about a possibly uninitialized variable. gcc complained about possibly uninitialized variable in QueueTestCase in optimized build, just initialize it to suppress this warning.

2010-04-22 16:16 VZ, revision 64111

Don't test possibly uninitialized variable in wxGCDC::SetLogicalFunction(). The variable "mode" is not filled by TranslateRasterOp() function if the input function is not supported, so don't compare it with wxCOMPOSITION_XOR later. Just compare "function" itself with wxXOR as this works in any case.

2010-04-22 16:16 VZ, revision 64110

Fix harmless g++ 4.3 warning about suggested parentheses. Add parentheses around && within ||.

2010-04-22 16:16 VZ, revision 64109

Define wxStrto{d,l,ul}_l() functions in non-Unicode build too. This fixes the unit test compilation in ANSI build.

2010-04-22 16:06 JMS, revision 64108

Added parenthesis around macro arguments

2010-04-22 15:51 JMS, revision 64106

Allow wxAny to contain 'const char*' or 'const wchar_t*'. This was previously not possible since these pointers were converted to wxString, as convenient means to work with string literals. Now pointers (to string literals) are stored instead, and As<wxString>(), comparison operators do the type conversion.

2010-04-22 14:08 VZ, revision 64105

Fix off by one error in wxFTP::GetFileSize(). We incremented the index once more even after finding the line we were looking for in the array which meant that we accessed a wrong array element in any case and could even attempt to access an out of bound one if the file was found in the last line. Closes #11964.

2010-04-22 13:21 VZ, revision 64104

Return correct invoking window for submenus of a popup menu. SetInvokingWindow() is only called for the top menu being popped up itself but the invoking window should also be associated with its submenus. Modify GetInvokingWindow() to return the parents invoking window for submenus. This fixes a crash due to returning NULL from wxMenu::GetWindow() in wxMSW owner-drawn code. And it also makes redundant some code in wxUniversal wxMenu implementation which can now simply use GetInvokingWindow() in all cases. Closes #11957.

2010-04-22 13:21 VZ, revision 64103

Use symbolic names for popup menu ids in wxEVT_MENU_HIGHLIGHT events in wxMSW. No real changes, just use wxID_NONE instead of hardcoded -1 (in one place) and -3 (in another one). Hardcoding them not only made the code less readable but also resulted in two numbers actually becoming different when they almost certainly were meant to be the same. This shouldn't result in any changes in the user-visible behaviour but we now avoid searching the menu bar for menu items with id of -1 needlessly.

2010-04-22 13:21 VZ, revision 64102

Fix bug with using incorrect negative ids in wxEVT_MENU_HIGHLIGHT events. wxMSW code implicitly cast ids carried by wxEVT_MENU_HIGHLIGHT events to unsigned short so that they didn't compare equal to the (signed, negative) ids of the real menu items. Because of this menu help strings were not shown for any items with negative ids, i.e. those created using wxID_ANY. Closes #11977.

2010-04-22 13:21 VZ, revision 64101

Override wxWindow::MSWGetCreateWindowCoords() in wxTopLevelWindow. The old code was messy because it handled both top level and child windows at wxWindow level when they need quite different treatment. This resulted in several errors: first, wxWindow versions of WidthDefault and HeightDefault were used to determine the initial size even of top level windows which was clearly wrong as it created tiny windows (20*20). Second, CW_USEDEFAULT could be used for child window for which this shouldn't be done. Fix this by making MSWGetCreateWindowCoords() virtual and overriding it in wxTopLevelWindow. This makes the code much simpler and more obviously correct. Also make MSWGetCreateWindowCoords() void, as nobody was using its return value anyhow (and the old version also had a bug in it and wrongly returned true when default size was passed to it).

2010-04-22 13:20 VZ, revision 64100

Add documentation for several grid cell renderer/editor classes. Document the previously undocumented renderers and editors. Closes #11965.

2010-04-22 13:20 VZ, revision 64099

Clarify that Raise() is only a request to raise the window. Calling Raise() doesn't guarantee that the window will be raised. Closes #11974.

2010-04-22 13:20 VZ, revision 64098

Fix fatal bug in ArgsArray(wchar_t**) ctor. The input pointer was modified before being used again leading to out of bound array access. Closes #11979.

2010-04-22 09:00 SC, revision 64097

missed in r64093

2010-04-22 08:46 SC, revision 64096

switching to correct hit-testing

2010-04-22 08:23 SC, revision 64095

simpler code

2010-04-22 08:18 SC, revision 64094

shutdown sequence routing to EndSession calls

2010-04-22 08:16 SC, revision 64093

overriding the cfrunloop accessor, during booting cocoa has to create a NSRunLoop earlier

2010-04-21 18:46 VS, revision 64090

msgIdCharset is only needed in ANSI build. In Unicode build, there's no need to create wxCSConv object for every loaded catalog when it won't be used for anything.

2010-04-21 16:40 VZ, revision 64089

No real changes, just fix typos in the ownerdrw sample. s/Cheked/Checked/g

2010-04-21 16:40 VZ, revision 64088

Remove the extra margins when checking owner drawn menu icons size. The extra +4 in IsLessThanStdSize() functions resulted in assert failures under Windows XP after the ownerdraw drawing changes so remove it as nobody knew why was it there anyhow. Also replace IsLessThanStdSize() with IsGreaterThanStdSize() to allow using it directly instead of always testing for !IsLessThanStdSize(). See #11657.

2010-04-21 06:13 SC, revision 64087

non precomp build fix

2010-04-20 23:02 SC, revision 64084

backport of better drawing for toggle buttons

2010-04-20 23:00 SC, revision 64083

backport of order fixes for transform concatenations

2010-04-20 22:53 SC, revision 64082

backport r64081

2010-04-20 22:48 SC, revision 64081

avoiding full resize-invalidate and refresh

2010-04-20 22:29 SC, revision 64079

restoring special handling for carbon system menu items, fixes #11819

2010-04-20 21:09 SC, revision 64068

tracking open modal dialogs

2010-04-20 21:07 SC, revision 64067

currently avoid problems when releasing the capture during drag on osx_cocoa

2010-04-20 18:02 SC, revision 64066

better layout for simple one param messages, closes #11810

2010-04-20 16:55 SC, revision 64065

having common API for mapping between native and wx tlw type

2010-04-20 16:55 SC, revision 64064

type of wrapped window can be any NSWindow, not only our own classes

2010-04-20 16:54 SC, revision 64063

TODO done

2010-04-20 16:53 SC, revision 64062

use new call

2010-04-20 16:51 SC, revision 64061

wrap native TLWs so that they also appear in the tlw list

2010-04-20 16:50 SC, revision 64060

support for capturing, use categories instead of member vars for the implementation mapping, so that we can wrap native NSWindow instances as well

2010-04-20 14:55 JMS, revision 64059

Fix VC6 compilation by changing the order of assignment operators in wxAny

2010-04-20 13:59 VZ, revision 64058

Check for menu title being non-empty when appending it to the menu bar. It doesn't make sense to add a menu with empty title to the menu bar so assert that the title is not empty and fail to add the menu if it is. See r64033 in wxQT branch.

2010-04-20 13:10 VZ, revision 64057

Add wxProgressDialog::Was{Cancelled,Skipped}() convenience methods. Although the information about "Cancel" and "Skip" buttons presses is returned from Update(), sometimes it may be more convenient to ask the dialog about whether it was cancelled or skipped instead of storing it in the program itself. Add the methods which allow to check for this. Closes #10903.

2010-04-20 09:28 JJ, revision 64056

correcting error in OpenVMS makefile

2010-04-20 07:01 SC, revision 64055

if we have wxBG_STYLE_PAINT, we must clear the background ourselves, since on OSX there might be transparent subpanels, fixes #11958

2010-04-19 20:54 FM, revision 64053

minor additions and clarifications

2010-04-19 16:44 SC, revision 64052

re-adding script that is needed for xcode builds

2010-04-19 16:33 JMS, revision 64051

or -> || (how did that compile on GCC anyway?)

2010-04-19 16:25 JMS, revision 64050

When deciding whether to convert wxAny to 'long' or 'longlong' wxVariant, use wxINT32_MAX instead of LONG_MAX (for more consistent results across builds)

2010-04-19 16:23 JMS, revision 64049

Improve wxAny<->wxVariant conversion 64-bit integer tests

2010-04-19 15:36 SC, revision 64048

missing return value

2010-04-19 14:39 JJ, revision 64047

update OpenVMS compile support

2010-04-19 00:15 VZ, revision 64041

Use "monospace" face name for all Unix systems, hopefully it should work. This fixes failures of several build bot slaves (all running Debian or Ubuntu) which were due to using "Fixed" under these Linux distributions. Unfortunately "Fixed" didn't work as Pango doesn't seem to recognize it as a valid face name. "DejaVu Sans" should probably work on most current Linux systems but "Monospace" should hopefully be available on other Unix systems as well. We could also just take whatever wxFontEnumerator returns which should probably be even more fool-proof.

2010-04-18 20:49 SC, revision 64040

render characters on OSX one by one as fractional widths leads to errors otherwise

2010-04-18 20:38 SC, revision 64039

concatenation must use prepend mode on osx as well

2010-04-18 19:19 PMO, revision 64035

Make the output of wxMissingImplementation more assert like

2010-04-18 19:19 MW, revision 64034

Try to provide backtraces on unix buildbots if the test program crashes.

2010-04-18 19:18 PMO, revision 64033

Check for empty menu title

2010-04-18 18:27 MW, revision 64032

Add stub -t and -d options to the test program on the stable branch for forward compatibilty with the trunk.

2010-04-18 18:18 JMS, revision 64031

Use const_cast<> to get 'wxAnyValueType*' from 'const wxAnyValueType*'

2010-04-18 17:46 PMO, revision 64030

First parts of the menu implementations

2010-04-18 15:29 SC, revision 64029

fixing coordinate conversions for captured windows

2010-04-18 15:18 SC, revision 64028

using same API

2010-04-18 15:17 SC, revision 64027

streamlining code for extra controls

2010-04-18 15:15 SC, revision 64026

painting background of splitter as well, fixes #11958

2010-04-18 13:54 JMS, revision 64025

Fix STL build

2010-04-18 13:15 JMS, revision 64022

Fix wxAny for VC6 by removing 'wxAny& operator=(const wxVariant &variant)' for it. This will break some cases of implicit wxVariant->wxAny conversion (for VC6).

2010-04-18 12:19 JMS, revision 64021

Correctly use wxANY_AS() instead of wxAny::As<>(), for VC6 compatibility

2010-04-18 11:49 SC, revision 64020

normal windows also have transparent corners, so don't ever set it to non transparent ...

2010-04-18 02:05 VZ, revision 64019

Fix bug with using uninitialized flags in GetParentForModalDialog(). GetParentForModalDialog() was called from the ctor initialized list before m_windowStyle could be initialized by the base class ctor in several different places, meaning that the check for wxDIALOG_NO_PARENT in this function was using uninitialized variable. Fix this by passing the style parameter explicitly to this function to allow using it from derived class ctors. Still keep an overload which uses the actual window parent and flags which is simpler to use for later calls to this function. Thanks valgrind for finding this one.

2010-04-17 16:15 VZ, revision 64018

Don't return invalid size from wxDir::GetTotalSize() for empty dirs. wxDirTraverserSumSize::GetTotalSize() may, and will, return 0 for empty directories, this is not an error and so don't treat it as such. Closes #11937.

2010-04-17 16:15 VZ, revision 64017

No real changes, just some minor cleanup of wxDirTraverserSumSize. Put the comment before the code it comments on, not after. Return const reference from an accessor.

2010-04-17 14:34 RR, revision 64016

Added virtual destructor

2010-04-17 14:03 JMS, revision 64015

Removed two instances of 'template<>' - looks like VC6 did not need it after all, but was just really picky about the order of constructors

2010-04-17 11:12 PMO, revision 64014

Applied latest wxQt patch from 2010-04-17

2010-04-17 11:10 PMO, revision 64013

Applied latest wxQt patch from 2010-04-17

2010-04-17 11:00 JMS, revision 64012

Suppressed some harmless VC6 warnings

2010-04-17 10:59 JMS, revision 64011

Fixed VC6 compilation - wxAny(const wxVariant&) ctor required a specific 'template<>')

2010-04-17 10:50 MW, revision 64010

Revert change to add -t to buildbot test runs as some branches don't have it.

2010-04-17 00:14 MW, revision 64006

Use -t on buildbot test runs.

2010-04-16 22:52 VZ, revision 64005

Don't define wxADJUST_MINSIZE if it had been already defined. Defining wxADJUST_MINSIZE as 0 may be a simple way to make the old code to compile and while it works without WXWIN_COMPATIBILITY_2_8 it paradoxically doesn't work with it because this results in errors when wxADJUST_MINSIZE is defined as 0 by wx itself. Avoid this problem by only defining wxADJUST_MINSIZE ourselves if it hadn't been defined yet.

2010-04-16 22:52 VZ, revision 64004

Add wxToolBar::GetToolByPos() method to access tools by their index. This is a trivial accessor which somehow was never added before even though we had GetToolsCount() and even DeleteToolByPos(). Closes #11120.

2010-04-16 22:09 VS, revision 64003

Fix build breakage caused by bConvertEncoding deprecation.

2010-04-16 17:34 JMS, revision 64002

Try a blind fix for VC6 compilation issues (wxAny ctor has become too ambiguous now that it has a form that takes wxVariant reference)

2010-04-16 16:36 JMS, revision 64001

Adapted wxPropertyGrid documentation, samples, tests, and wxVariantData-macros to the new wxAny<->wxVariant conversions

2010-04-16 16:33 JMS, revision 64000

wxVariant <-> wxAny conversion functionality. Includes implicit construction of wxAny from wxVariant, and vice versa. wxVariant->wxAny conversion is implemented by adding new virtual member function into wxVariantData. wxAny->wxVariant conversion is implemented by associating wxAnyValueTypes with functions that generate wxVariantData instances (using a hash map).

2010-04-16 16:27 VZ, revision 63999

Create a branch for wxQt development.

2010-04-16 14:47 VZ, revision 63998

Minor corrections to the documentations. Use the correct "override" instead of "overload". Remove unnecessary "virtual" keyword occurrences. Closes #11949.

2010-04-16 14:47 VZ, revision 63997

Correct the case of wxHyperlinkCtrl in the documentation. Closes #11814.

2010-04-16 14:47 VZ, revision 63996

Document wxWindow::DoCentre() and wxCENTRE_ON_SCREEN flag. See #11949.

2010-04-16 14:44 VZ, revision 63995

Don't rely on __GXX_RTTI being defined with g++ < 4.3. __GXX_RTTI is only defined since g++ 4.3.2 and so we can't rely on its absence as indicating the use of -fno-rtti switch with the older versions of the compiler, only do this for g++ 4.3+. Also define wxNO_RTTI from configure if --enable-no_rtti was used as we can't always detect it automatically. Closes #11955.

2010-04-16 13:29 VS, revision 63993

Remove wxLOCALE_CONV_ENCODING flag. This doesn't affect Unicode builds, only the legacy ANSI one. PO files are now always converted to the appropriate charset according to current locale. This was the default behavior for long time; not doing the conversion was always a fragile hack that didn't work well. Removing this flag simplifies wxLocale code.

2010-04-16 13:29 VS, revision 63992

Add wxLOCALE_DONT_LOAD_DEFAULT (=0) for clarity.

2010-04-16 12:43 VS, revision 63991

Remove wxUSE_WCHAR_T checks. wxWidgets requires wchar_t for some time now; wx/chartype.h has a check to fail complation without it. Simplify code by removing now-dead code for the !wxUSE_WCHAR_T case.

2010-04-16 12:22 VS, revision 63990

Mark wx apps as DPI aware on Windows 7/Vista.

2010-04-16 11:15 JJ, revision 63989

synchronizing setup.h_vms with setup_h.in

2010-04-16 08:18 SC, revision 63988

translating background style BG_PAINT into opaqueness for speed-up of OS redraws, supporting positioning for native carbon controls also on non-composited windows (custom pane in navservices dialogs)

2010-04-16 00:47 VZ, revision 63986

Fix using weak references to incomplete classes. wxWeakRef can work with forward-declared classes provided dynamic_cast<> is available but this wasn't detected as being the case due to the use of the obsolete HAVE_DYNAMIC_CAST in its code. Replace HAVE_DYNAMIC_CAST with !wxNO_RTTI to fix this. Also add a unit test checking that this does work. Closes #11916.

2010-04-15 22:04 SC, revision 63985

supporting switching back background style from transparent on tlws

2010-04-14 19:06 SC, revision 63979

fixing build

2010-04-14 18:46 SC, revision 63978

make sure log output on the iphone goes to the console by default

2010-04-14 14:34 SC, revision 63977

fixing layout of custom controls during resize, cleanup of member variables naming

2010-04-14 14:16 SC, revision 63976

fixing constants to be of the expected parameter type (float instead of double)

2010-04-14 09:21 MW, revision 63975

Update buildbot config.

2010-04-14 07:55 MW, revision 63974

Add builds to the buildbot.

2010-04-14 02:10 VZ, revision 63971

Another compilation fix to wxMimeTypesManager, this time in Unicode build. Fix another problem introduced by backporting the fix from the trunk in r63936.

2010-04-13 22:27 SC, revision 63970

adding support for extraControl on osx_carbon

2010-04-13 22:24 SC, revision 63969

adding wrapping possibility for native tlws

2010-04-13 22:22 MW, revision 63968

Make the gui test still run on the buildbot when the non-gui tests fail.

2010-04-13 22:22 MW, revision 63967

Put the buildbot's default configure arguments before the optional ones so they can be overridden.

2010-04-13 18:38 VZ, revision 63965

Exclude wxWeakRef tests not compiling with VC6 from compilation. The ctor used by these tests can't be enabled for VC6 (see r63955), simply disable them to allow the rest to compile.

2010-04-13 17:07 SC, revision 63964

making sure calls don't crash for fully native dialogs which don't have a nowpeer like filedialog

2010-04-13 14:08 SC, revision 63963

adding fallbacks for non-native font variants, fixes #11938

2010-04-13 08:42 SC, revision 63962

fixing non-precomp build, fixes #10985

2010-04-12 22:39 SC, revision 63961

correcting alpha and removing window shadow for overlay

2010-04-12 22:25 SC, revision 63960

correcting alpha and removing window shadow for overlay

2010-04-12 18:47 SC, revision 63959

fixing copy/paste error from carbon version, fixes #11540

2010-04-12 18:29 SC, revision 63958

name change to correctly reflect the autorelease nature of the methods, removing double release, fixes #11547, fixes #11760

2010-04-12 18:26 SC, revision 63957

copying native cursor under cocoa

2010-04-12 15:38 SC, revision 63956

fixing some warnings, adding proper OnChar support for special keys

2010-04-12 15:08 VZ, revision 63955

Fix VC6 compilation which was somehow broken by adding wxWeakRef ctor. For some mysterious reason, adding non-template wxWeakRef ctor breaks VC6 build with the apparently completely unrelated errors: include\wx/toplevel.h(223) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class wxWindow *' (or there is no acceptable conversion) include\wx/toplevel.h(231) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'class wxWindow *' (or there is no acceptable conversion) src\common\dummy.cpp(27) : error C2856: #pragma hdrstop cannot be inside an #if block Simply don't define it for VC6 to at least allow the code not using wxWeakRef to compile.

2010-04-12 14:18 SC, revision 63954

changing sequence of makeFirstResponder and makeKeyAndOrderFront

2010-04-12 13:59 SC, revision 63953

change grow box implementation - was incorrectly getting the focus in panels before

2010-04-12 13:21 VZ, revision 63952

Fix gcc warnings about testing undefined preprocessor symbol. Use #ifdef instead of #if to test for __WXPALMOS[56]__.

2010-04-12 13:21 VZ, revision 63951

Fix emulator compilation with wxX11 after GetMainWindow() renaming. This function is now called X11GetMainWindow().

2010-04-12 13:21 VZ, revision 63950

Fix string stream unit test compilation in non-Unicode build. wxScopedCharBuffer can't be constructed from char* string, just use wxCharBuffer instead, we don't care about efficiency here.

2010-04-12 13:11 VZ, revision 63949

Compilation fix after last commit. wxApp::GetTraitsIfExists() doesn't exist in 2.8, mea culpa for backporting the trunk fix without testing.

2010-04-12 02:37 VZ, revision 63948

Update AUI pane resizable status even when it is floating. Making a pane (e.g. a toolbar) [not] resizable didn't have any effect when it was floating, fix this by explicitly updating its style to match the internal state. Closes #10638.

2010-04-12 02:37 VZ, revision 63947

Fix over aggressive clipping in generic wxListCtrl header drawing. Clipping out 4 pixels vertically resulted in truncating any letters with descent (e.g. "g" or "q") under OS X where the native header size is just tall enough to show the text. Simply don't clip that much but use the entire header width. Closes #11780.

2010-04-12 02:37 VZ, revision 63946

Fix crash in wxListbook if image list is assigned after adding pages. The generic wxListCtrl didn't properly support switching between report and non-report modes without invalidating the control contents, the required in non report view geometry info pointers were not allocated when the control was switched to a, say, list mode and not created in it. Fix this by updating all list control lines when the report mode changes. Closes #11698.

2010-04-12 02:37 VZ, revision 63945

Translate the label used by the font picker dialog. Simply use _() instead of wxT(). Closes #11935.

2010-04-12 02:36 VZ, revision 63944
  • D /wxWidgets/trunk/build/script/makedocs.vc
  • D /wxWidgets/trunk/build/script/win_docs.bat
  • D /wxWidgets/trunk/build/script/word_macro.txt
  • D /wxWidgets/trunk/build/script/wxwidgets.iss
  • D /wxWidgets/trunk/distrib/mac/pbsetup-sh
  • D /wxWidgets/trunk/distrib/msw/bakeall.sh
  • D /wxWidgets/trunk/distrib/msw/base.rsp
  • D /wxWidgets/trunk/distrib/msw/bc.rsp
  • D /wxWidgets/trunk/distrib/msw/cocoa.rsp
  • D /wxWidgets/trunk/distrib/msw/contrib.rsp
  • D /wxWidgets/trunk/distrib/msw/copybase.bat
  • D /wxWidgets/trunk/distrib/msw/copy_src.bat
  • D /wxWidgets/trunk/distrib/msw/createsetup.sh
  • D /wxWidgets/trunk/distrib/msw/cw.rsp
  • D /wxWidgets/trunk/distrib/msw/cw_mac.rsp
  • D /wxWidgets/trunk/distrib/msw/deprecated.rsp
  • D /wxWidgets/trunk/distrib/msw/dmc.rsp
  • D /wxWidgets/trunk/distrib/msw/docsrc.rsp
  • D /wxWidgets/trunk/distrib/msw/dsp2dos.bat
  • D /wxWidgets/trunk/distrib/msw/expdwild.bat
  • D /wxWidgets/trunk/distrib/msw/extradoc.rsp
  • D /wxWidgets/trunk/distrib/msw/filerepl.bat
  • D /wxWidgets/trunk/distrib/msw/generic.rsp
  • D /wxWidgets/trunk/distrib/msw/glcanvas.rsp
  • D /wxWidgets/trunk/distrib/msw/gtk.rsp
  • D /wxWidgets/trunk/distrib/msw/innobott.txt
  • D /wxWidgets/trunk/distrib/msw/innotop.txt
  • D /wxWidgets/trunk/distrib/msw/jpeg.rsp
  • D /wxWidgets/trunk/distrib/msw/lower.bat
  • D /wxWidgets/trunk/distrib/msw/mac.rsp
  • D /wxWidgets/trunk/distrib/msw/makeall.bat
  • D /wxWidgets/trunk/distrib/msw/makedist.sh
  • D /wxWidgets/trunk/distrib/msw/makefile.rsp
  • D /wxWidgets/trunk/distrib/msw/makefile.vc
  • D /wxWidgets/trunk/distrib/msw/makeinno.bat
  • D /wxWidgets/trunk/distrib/msw/makeinno.sh
  • D /wxWidgets/trunk/distrib/msw/makerpm
  • D /wxWidgets/trunk/distrib/msw/makesetup.sh
  • D /wxWidgets/trunk/distrib/msw/maketarballs
  • D /wxWidgets/trunk/distrib/msw/makewinceproj.sh
  • D /wxWidgets/trunk/distrib/msw/mgl.rsp
  • D /wxWidgets/trunk/distrib/msw/microwin.rsp
  • D /wxWidgets/trunk/distrib/msw/mmedia.rsp
  • D /wxWidgets/trunk/distrib/msw/motif.rsp
  • D /wxWidgets/trunk/distrib/msw/msw.rsp
  • D /wxWidgets/trunk/distrib/msw/msw_minimal.rsp
  • D /wxWidgets/trunk/distrib/msw/namedown
  • D /wxWidgets/trunk/distrib/msw/nplugin.rsp
  • D /wxWidgets/trunk/distrib/msw/ogl.rsp
  • D /wxWidgets/trunk/distrib/msw/os2.rsp
  • D /wxWidgets/trunk/distrib/msw/palmos.rsp
  • D /wxWidgets/trunk/distrib/msw/patch.rsp
  • D /wxWidgets/trunk/distrib/msw/readme.txt
  • D /wxWidgets/trunk/distrib/msw/setup.var
  • D /wxWidgets/trunk/distrib/msw/stc.rsp
  • D /wxWidgets/trunk/distrib/msw/stubs.rsp
  • D /wxWidgets/trunk/distrib/msw/tags.cmd
  • D /wxWidgets/trunk/distrib/msw/tardist
  • D /wxWidgets/trunk/distrib/msw/tardist.bat
  • D /wxWidgets/trunk/distrib/msw/tarmicrowin.sh
  • D /wxWidgets/trunk/distrib/msw/tarwxall
  • D /wxWidgets/trunk/distrib/msw/tarwxmac
  • D /wxWidgets/trunk/distrib/msw/tarwxmotif
  • D /wxWidgets/trunk/distrib/msw/tarwxx11
  • D /wxWidgets/trunk/distrib/msw/tex2rtf.rsp
  • D /wxWidgets/trunk/distrib/msw/tiff.rsp
  • D /wxWidgets/trunk/distrib/msw/tmake/b32.t
  • D /wxWidgets/trunk/distrib/msw/tmake/b32base.t
  • D /wxWidgets/trunk/distrib/msw/tmake/base.t
  • D /wxWidgets/trunk/distrib/msw/tmake/basevc.t
  • D /wxWidgets/trunk/distrib/msw/tmake/bcc.t
  • D /wxWidgets/trunk/distrib/msw/tmake/cocoa.t
  • D /wxWidgets/trunk/distrib/msw/tmake/dos.t
  • D /wxWidgets/trunk/distrib/msw/tmake/filelist.t
  • D /wxWidgets/trunk/distrib/msw/tmake/filelist.txt
  • D /wxWidgets/trunk/distrib/msw/tmake/g95.t
  • D /wxWidgets/trunk/distrib/msw/tmake/gtk.t
  • D /wxWidgets/trunk/distrib/msw/tmake/lib/wxFileInfo.pm
  • D /wxWidgets/trunk/distrib/msw/tmake/lib/wxFileList.pm
  • D /wxWidgets/trunk/distrib/msw/tmake/lib/wxVersion.pm
  • D /wxWidgets/trunk/distrib/msw/tmake/Makefile
  • D /wxWidgets/trunk/distrib/msw/tmake/mac.t
  • D /wxWidgets/trunk/distrib/msw/tmake/makeall.bat
  • D /wxWidgets/trunk/distrib/msw/tmake/makeall.sh
  • D /wxWidgets/trunk/distrib/msw/tmake/mgl.t
  • D /wxWidgets/trunk/distrib/msw/tmake/micro.t
  • D /wxWidgets/trunk/distrib/msw/tmake/motif.t
  • D /wxWidgets/trunk/distrib/msw/tmake/msw.t
  • D /wxWidgets/trunk/distrib/msw/tmake/os2.t
  • D /wxWidgets/trunk/distrib/msw/tmake/sc.t
  • D /wxWidgets/trunk/distrib/msw/tmake/tmake.conf
  • D /wxWidgets/trunk/distrib/msw/tmake/univ.t
  • D /wxWidgets/trunk/distrib/msw/tmake/v15.t
  • D /wxWidgets/trunk/distrib/msw/tmake/vc.t
  • D /wxWidgets/trunk/distrib/msw/tmake/vc6app.t
  • D /wxWidgets/trunk/distrib/msw/tmake/vc6base.t
  • D /wxWidgets/trunk/distrib/msw/tmake/vc6msw.t
  • D /wxWidgets/trunk/distrib/msw/tmake/vc6univ.t
  • D /wxWidgets/trunk/distrib/msw/tmake/wat.t
  • D /wxWidgets/trunk/distrib/msw/tmake/watbase.t
  • D /wxWidgets/trunk/distrib/msw/tmake/watmgl.t
  • D /wxWidgets/trunk/distrib/msw/tmake/wxwin.pro
  • D /wxWidgets/trunk/distrib/msw/tmake/x11.t
  • D /wxWidgets/trunk/distrib/msw/univ.rsp
  • D /wxWidgets/trunk/distrib/msw/unix2dos.c
  • D /wxWidgets/trunk/distrib/msw/user.rsp
  • D /wxWidgets/trunk/distrib/msw/utilmake.rsp
  • D /wxWidgets/trunk/distrib/msw/utils.rsp
  • D /wxWidgets/trunk/distrib/msw/vc.rsp
  • D /wxWidgets/trunk/distrib/msw/vcupdate.bat
  • D /wxWidgets/trunk/distrib/msw/wince.rsp
  • D /wxWidgets/trunk/distrib/msw/wordstyle.dot
  • D /wxWidgets/trunk/distrib/msw/wxrc.rsp
  • D /wxWidgets/trunk/distrib/msw/wxtree.rsp
  • D /wxWidgets/trunk/distrib/msw/wxwidgets_in.iss
  • D /wxWidgets/trunk/distrib/msw/wxwin01.bmp
  • D /wxWidgets/trunk/distrib/msw/wx_chm.rsp
  • D /wxWidgets/trunk/distrib/msw/wx_hlp.rsp
  • D /wxWidgets/trunk/distrib/msw/wx_htb.rsp
  • D /wxWidgets/trunk/distrib/msw/wx_html.rsp
  • D /wxWidgets/trunk/distrib/msw/wx_pdf.rsp
  • D /wxWidgets/trunk/distrib/msw/wx_word.rsp
  • D /wxWidgets/trunk/distrib/msw/x11.rsp
  • D /wxWidgets/trunk/distrib/msw/xml.rsp
  • D /wxWidgets/trunk/distrib/msw/zipdist.sh
  • D /wxWidgets/trunk/distrib/msw/zipmac.sh
  • D /wxWidgets/trunk/distrib/msw/zippatch.bat
  • D /wxWidgets/trunk/distrib/msw/zipwince.bat
  • D /wxWidgets/trunk/distrib/msw/zipwinminimal.bat
  • D /wxWidgets/trunk/distrib/msw/zipxml.bat
  • D /wxWidgets/trunk/distrib/scripts/build-environ.cfg
  • D /wxWidgets/trunk/distrib/scripts/build-linux.sh
  • D /wxWidgets/trunk/distrib/scripts/build-mac.sh
  • D /wxWidgets/trunk/distrib/scripts/build-windows.sh
  • D /wxWidgets/trunk/distrib/scripts/builddemos.sh
  • D /wxWidgets/trunk/distrib/scripts/build_controller.py
  • D /wxWidgets/trunk/distrib/scripts/create-archive.py
  • D /wxWidgets/trunk/distrib/scripts/create_archives.sh
  • D /wxWidgets/trunk/distrib/scripts/docs/creating_releases.html
  • D /wxWidgets/trunk/distrib/scripts/includes/configure_build.inc
  • D /wxWidgets/trunk/distrib/scripts/is_text.sh
  • D /wxWidgets/trunk/distrib/scripts/mac/dobuilds
  • D /wxWidgets/trunk/distrib/scripts/mac/lipo-dir.py
  • D /wxWidgets/trunk/distrib/scripts/mac/macbuild
  • D /wxWidgets/trunk/distrib/scripts/mac/macbuild-framework
  • D /wxWidgets/trunk/distrib/scripts/mac/macbuild-lipo
  • D /wxWidgets/trunk/distrib/scripts/mac/mac_options.inc
  • D /wxWidgets/trunk/distrib/scripts/mac/tardist
  • D /wxWidgets/trunk/distrib/scripts/manifests/base.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/cocoa.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/dfb.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/dmc.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/docsrc.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/generic.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/generic_samples.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/gtk.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/gtk1.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/jpeg.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/mac.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/makefile.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/mgl.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/motif.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/msw.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/os2.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/palmos.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/stc.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/tex2rtf.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/tiff.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/univ.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/utilmake.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/utils.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/vc.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/wince.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/x11.rsp
  • D /wxWidgets/trunk/distrib/scripts/manifests/xml.rsp
  • D /wxWidgets/trunk/distrib/scripts/msw/makeinno.sh
  • D /wxWidgets/trunk/distrib/scripts/msw/makesetup.sh
  • D /wxWidgets/trunk/distrib/scripts/msw/make_msvc6_setup
  • D /wxWidgets/trunk/distrib/scripts/msw/make_msvc7_setup
  • D /wxWidgets/trunk/distrib/scripts/msw/setup.var
  • D /wxWidgets/trunk/distrib/scripts/setup_environ.sh
  • D /wxWidgets/trunk/distrib/scripts/unix/dobuilds
  • D /wxWidgets/trunk/distrib/scripts/unix/maketarballs
  • D /wxWidgets/trunk/distrib/scripts/unix/unixbuild
  • D /wxWidgets/trunk/distrib/scripts/update-manifests.sh
  • D /wxWidgets/trunk/distrib/scripts/utils.inc
  • D /wxWidgets/trunk/distrib/tar-o-matic.sh
  • M /wxWidgets/trunk/docs/tech/index.txt
  • D /wxWidgets/trunk/docs/tech/tn0013.txt

Remove all obsolete release-generation scripts. Only leave the files which are still used for the daily snapshots generation. Also remove the obsolete release-making instructions. See #11610.

2010-04-12 02:36 VZ, revision 63943

Fix return value of wxList::insert() in non-STL builds. The returned value was the same as the iterator that was passed in which could even be invalid when appending. Fix the wrong use of postfix decrement instead of prefix one and handle the case of appending correctly. Closes #11808.

2010-04-12 02:36 VZ, revision 63942

Fix compilation of wxIconBundle in some particular minimal builds. Let the code compile when wxUSE_STREAMS==1 but wxUSE_FILE and wxUSE_FFILE are both 0. Closes #10900.

2010-04-12 02:36 VZ, revision 63941

Use string sort order with CompareString() in wxString::CmpNoCase(). Using the default word sort order may fail to define a strict weak order using this function, thus breaking algorithms such as std::sort which rely on its properties. It's also more consistent with the fallback manual implementation. Closes #10375.

2010-04-11 19:38 VZ, revision 63940

Use template class instead of template function in wxVectorSort(). This allows the code to compile with VC6 which has trouble with explicit specification of the template functions instantiation.

2010-04-11 15:20 JMS, revision 63939

Fixed typo in documentation string

2010-04-11 13:08 VZ, revision 63938

Add wxString::ToStdString() and ToStdWstring(). These trivial helper functions are available in all builds (provided that wxUSE_STD_STRING is not explicitly set to non-default 0 value) unlike implicit conversions to std::[w]string which are only available when wxUSE_STL==1.

2010-04-11 11:26 SC, revision 63937

cocoa implementation for overlay

2010-04-10 20:23 VZ, revision 63936

Fix crash in wxMimeTypesManager [backport of r63935 from trunk]. Don't crash if wxMimeTypesManager is used before wxApp creation. See #11927.

2010-04-10 20:13 VZ, revision 63935

Don't crash if wxMimeTypesManager is used before wxApp creation. This is arguably not a supported use case but this apparently used to work before and so it's probably not a good idea to break it now. Closes #11927.

2010-04-10 20:13 VZ, revision 63934

Add non-template wxWeakRef<T> constructor from T*. We need a non-template ctor to make the code initializing wxWeakRef with literal NULL to compile. Closes #11916.

2010-04-10 20:13 VZ, revision 63933

Add wxWeakRef::element_type, remove unnecessary assignment operator. Define element_type for consistency with other classes (wxSharedPtr, weak_ptr) and to allow accessing the type from the template code. Also remove the apparently unnecessary template assignment operator: assignment from an expression convertible to type T* works even without it and while assigning something implicitly convertible to T* wouldn't work now, it's for the best as we don't want to rely on such implicit conversions.

2010-04-10 19:47 SC, revision 63932

flushing upon destruction, hope this won't redraw congestion in old code, see #11930

2010-04-10 19:46 SC, revision 63931

note for future implementation using a former private API

2010-04-10 01:18 MW, revision 63930

Corrections for the buildbot configs.

2010-04-10 01:04 MW, revision 63929

Add wxDFB to buildbot.

2010-04-10 00:20 MW, revision 63928

Typos.

2010-04-10 00:04 MW, revision 63927

Update configuration of linux buildbots.

2010-04-09 16:14 VS, revision 63925

Regenerated makefiles after removing USE_GDIPLUS.

2010-04-09 16:12 VS, revision 63924

Remove USE_GDIPLUS setting from bakefiles. GDI+ DLL is always loaded dynamically at runtime, so there's no reason to link against it anymore.

2010-04-09 15:15 VZ, revision 63923

Discard fully transparent alpha channel when loading bitmaps. Some bitmap files declare themselves to be 32bpp, normally indicating that they have an alpha channel, but have only zeroes in their alpha data. Hence loading them used to create fully transparent images which wasn't the desired effect. Fix this by simply discarding the alpha channel entirely if it turns out that all pixels were fully transparent. Closes #10915.

2010-04-09 15:15 VZ, revision 63922

Add wxImage::ClearAlpha(). This simple method can be used to remove alpha channel from the image. See #10915.

2010-04-09 10:10 SC, revision 63921

reverting r57083 for OSX, fixes #11922

2010-04-09 08:55 VS, revision 63920

Add system libs in msvc/wx/setup.h too. This makes it possible to use static build of wx from VC++ by just including its headers. Even though it's common to have these libs in your settings, it's not always the case.

2010-04-08 23:46 MW, revision 63919

Add initial config for TBITCWXBUILDBOT buildbot.

2010-04-08 23:39 SC, revision 63918

trying to simplify and optimize font handling

2010-04-08 20:47 SC, revision 63917

using statically allocated font objects for speedup

2010-04-08 11:46 SC, revision 63912

allowing direct native tlw modal loops

2010-04-08 11:45 SC, revision 63911

switching modal loop implementation, fixes #11921

2010-04-08 07:02 RD, revision 63910

--enable-uiactionsim for wxPython builds

2010-04-08 00:23 RD, revision 63909

#include <algorithm> to fix problem in PCH-less STL builds

2010-04-08 00:07 SC, revision 63908

fixing NSFontDescriptor matching for font weights and styles, fixes #11910

2010-04-07 23:56 RD, revision 63907

(blind) fix for buildbot breakage with MSVC 6

2010-04-07 22:40 RD, revision 63905

Drop the Array class added in the last scintilla patch and switch to using wxVector instead. Closes #11765.

2010-04-07 22:32 RD, revision 63904

Add wxVectorSort function for sorting wxVector<T> containers. Closes #11889

2010-04-07 22:29 RD, revision 63903

Test m_dc before using it

2010-04-07 22:27 SC, revision 63902

fixing focus, fixes #11911

2010-04-07 20:59 VS, revision 63901

Fixed wxFileSystem::FileNameToURL() regression with UNC paths. We cannot use wxURI to do the escaping, because wxFileSystem depends on use of nonstandard escaping and prefixes (wxURI eats away file:// prefix, while wxFileSystem uses it to signify UNC paths; wxFileSystem needs to escape #,: as well).

2010-04-07 20:42 SC, revision 63900

borders might have to be drawn differently

2010-04-07 14:55 VZ, revision 63894

Fix harmless MSVC warning about int to bool conversion in Scintilla. The warning is harmless but prevents buildbot from reporting any new warnings during the library compilation step so suppress it. Notice that it might be better if ViewStyle::extraFontFlag was bool and not int to begin with.

2010-04-07 14:52 VZ, revision 63893

Suppress dummy gcc warnings in regex library code. These warnings are harmless (variables are always initialized when they are used) but they unfortunately prevent buildbot from reporting any new warnings (which may not be harmless) during the library compilation step so suppress them in the least intrusive way possible.

2010-04-07 14:43 VZ, revision 63892

Work around "possibly uninitialized variable" warning in wxFileName. Initialize multiplier to its default value in GetHumanReadableSize() to avoid a "warning: 'multiplier' may be used uninitialized in this function" from g++.

2010-04-07 12:50 VZ, revision 63891

Rename the rest of wxSIZE_CONV_TRADIONAL to wxSIZE_CONV_TRADITIONAL. Fix tests compilation after r63886. See #10673.

2010-04-07 12:50 VZ, revision 63890

Correct documentation of wxSizeConvention elements. 1KiB is 1024 bytes, not 1000. Also put the elements in the correct order (same as in the real header). See #10673.

2010-04-07 11:05 SC, revision 63889

switching loop mode for idle processing, fixes #11912 (left is a redraw issue, textfield borders are not repainted correctly when enabling)

2010-04-07 09:22 SC, revision 63888

moving static box construction - z Order makes checkboxes nonresponsive otherwise on OSX

2010-04-07 01:51 VZ, revision 63887

Fix wxGTK compilation after r63880. SendTextUpdatedEvent() needs to be public as it's called from GTK callback.

2010-04-07 00:51 FM, revision 63886

fix typos introduced by error in r63870 (see #10673)

2010-04-07 00:43 SC, revision 63885

making gradients working again

2010-04-06 23:17 SC, revision 63884

supporting text foreground color, fixes #11903

2010-04-06 20:57 SC, revision 63883

fixing warnings

2010-04-06 20:46 VZ, revision 63882

Add wxTextEntryBase::ForwardEnableTextChangedEvents(). Use this method to forward the status of text events in the implementation of wxComboBox in wxOSX/Carbon. This ensures that the events are correctly [not] generated when various wxComboBox methods are called. The unit tests now also pass with wxOSX/Carbon.

2010-04-06 20:46 VZ, revision 63881

Fix text text changed events sending in OS X combo box and text control. Don't duplicate needlessly wxTextEntry functionality in wxTextCtrl. Don't clear the combobox text entry part twice in wxComboBox::DoClear(), it is supposed to only clear the item container contents as the base class Clear() already calls wxTextEntry::Clear(). Do send text updated events from wxTextEntry itself as it applies to wxComboBox just as well as to wxTextCtrl. The unit tests now pass under wxOSX/Cocoa, not breaking them again would be appreciated.

2010-04-06 20:46 VZ, revision 63880

Move SendTextUpdatedEvent() down to wxTextEntryBase from wxTextCtrlBase. This will allow reusing it in wxComboBox implementation as well. Also add SendTextUpdatedEventIfAllowed() which can be used to only send the events if they were not blocked at wxTextEntry level. No real changes otherwise.

2010-04-06 20:46 VZ, revision 63879

Implement support for gradient stops for OS X. Currently the code still doesn't work but OTOH it's not any worse than what it was before. See #11904.

2010-04-06 20:46 VZ, revision 63878

Remove duplicated GetTextPeer() definitions from derived classes. GetTextPeer() may be implemented directly in wxTextEntry under OS X, there is no need to define it (identically) in wxTextCtrl and wxComboBox. Also just call this method instead of duplicating its code in wxOSX wxTextCtrl.

2010-04-06 20:46 VZ, revision 63877

Set the value passed to wxComboBox ctor in wxOSX/Cocoa. The initial value was simply ignored, do use it now if it's specified, i.e. non empty.

2010-04-06 20:46 VZ, revision 63876

Suppress a harmless signed/unsigned comparison warning. wxComboBox::FindString() used int loop index, change it to unsigned one.

2010-04-06 20:46 VZ, revision 63875

Suppress unused parameter warnings. observer argument of wxCFEventLoop::ObserverCallBack() and timestampsec one of wxComboBox::OSXHandleClicked() were unused and generated gcc warnings. wxComboBox::EnableTextChangedEvents() needs to be implemented but as there is already a wxFAIL in it an extra warning is not really useful.

2010-04-06 19:38 VZ, revision 63874

Attempt to correct mysterious MSVC6 compilation error. For some reasons MSVC6 refuses to compile TestData struct initialization. Try to work around it by not using wxULongLong as this looks like the only thing which might be confusing it.

2010-04-06 19:38 VZ, revision 63873

Fix more harmless warnings. Fix a warning about unused parameters and another about signed/unsigned comparison during samples and tests compilation.

2010-04-06 18:51 SC, revision 63872

adding clipboard events, fixes #11906

2010-04-06 18:23 VZ, revision 63871

Remove extra semicolons from NOTIFYICONDATA_V[12]_SIZE definitions. These semicolons prevented the code from compiling when using old SDK which didn't provide these symbols itself.

2010-04-06 16:53 VZ, revision 63870

Add support for IEC and SI size units to wxFileName::GetHumanReadableSize(). Allow choosing the multiplier to use (1000 or 1024) and the names of the units (SI or IEC). By default, still use traditional convention, i.e. multiplier of 1024 but SI unit names. This will probably need to be changed to use IEC units in the future. Also added unit test for this function. Closes #10673.

2010-04-06 15:55 VZ, revision 63869

Add default constructor to wxGraphicsGradientStop. It may be convenient to create wxGraphicsGradientStop first and initialize it later so allow doing this by providing the default argument for constructor parameters and thus allowing to use it as the default constructor. See #11897.

2010-04-06 15:55 VZ, revision 63868

Correct check for MSVC version in wxUSE_GRAPHICS_CONTEXT definition. Set wxUSE_GRAPHICS_CONTEXT to 1 by default for MSVC 7.1+ and not 8+.

2010-04-06 11:47 JJ, revision 63867

Update OpenVMS compile support

2010-04-06 02:17 VZ, revision 63866

Correct checks for gradient stop position. It may be <= 1 in the final version and not < 1. See #11897.

2010-04-05 19:52 RR, revision 63865

non PCH compilation

2010-04-05 19:19 VS, revision 63864

Fix text input and completion in wxComboCtrl and wxOwnerDrawnComboBox. Both wxEVT_KEY_DOWN and wxEVT_CHAR must be handled and only the latter used for completion (or any characters input). Don't make incorrect assumptions about wxEVT_CHAR keycodes either, it's only the Unicode character and printability that matter. Otherwise, completion in readonly controls wouldn't work correctly for e.g. numbers on numpad or non-ASCII characters.

2010-04-05 19:18 VS, revision 63863

wxOwnerDrawnComboBox: handle Home and End keys as native control does.

2010-04-05 19:18 VS, revision 63862

Pass events around with ProcessEvent(), not AddPendingEvent(). The latter adds the event for later processing. As a result, the event appears to be processed to the caller, even if the handled it was passed to called Skip() on it. ProcessEvent() doesn't suffer from this problem, it may modify the event as expected.

2010-04-05 19:18 VS, revision 63861

wxOwnerDrawnComboBox: handle numpad navigation keys. For consitency with the native control, up/down/pgup/pgdown keys should be handled even when pressed on the numpad.

2010-04-05 19:18 VS, revision 63860

Implement native mousewheel behaviour in wxOwnerDrawnComboBox.

2010-04-05 19:18 VS, revision 63859

In wxPopupFocusHandler, watch for EVT_CHAR, not EVT_KEY_DOWN. We should close the popup only if neither of these events was processed; previously, EVT_CHAR would never reach the popup in open state, as it would be closed automatically.

2010-04-05 14:44 SC, revision 63858

moving OnInit back

2010-04-05 14:15 VZ, revision 63857

Add support for gradient stops to wxGraphicsContext. Allow specifying a set of gradient stops instead of just the beginning and ending colours. Add the new wxGraphicsGradientStop(s) classes and new wxGraphicsContext::Create{Linear,Radial}GradientBrush() overloads. Also change the same methods of wxGraphicsRenderer to take wxGraphicsGradientStops instead of a pair of colours. Implement the new API for MSW and Cairo. OS X still uses just the two colours for now. Closes #11897.

2010-04-05 13:44 VZ, revision 63856

Add wxTransparentColour global pseudo-variable. Introduce a symbolic name for a fully transparent colour. See #11897.

2010-04-05 13:44 VZ, revision 63855

Use helper wxColourToColor function in wxMSW wxGraphicsContext code. Don't repeat Color ctor from wxColour all the time.

2010-04-05 03:07 PC, revision 63854

avoid setting negative window size

2010-04-05 03:06 PC, revision 63853

freeze whole window for TLW

2010-04-05 02:45 PC, revision 63852

avoid permanently frozen TLW when frozen child is destroyed with GTK+ 2.18

2010-04-04 17:22 JMS, revision 63850

Resolve GCC's 'type-punned pointer will break strict-aliasing rules' warning by breaking up code in wxAny GetValue() and SetValue() functions into several lines (fixes #11865)

2010-04-04 15:19 VZ, revision 63849

Fix wxTaskBarIcon to work under all Windows versions. When the code was compiled using a new SDK, creating wxTaskBarIcon failed under older Windows systems because of a too big NOTIFYICONDATA size specified by the program. Fix this by using the fixed NOTIFYICONDATA_V2_SIZE to get old version of the struct which nevertheless contains everything we need and even fall back to NOTIFYICONDATA_V1_SIZE for Win9x if needed. Closes #11886.

2010-04-03 14:25 VZ, revision 63842

Correct compilation breakage of r63832. wx/setup.h can't use wxCHECK_VISUALC_VERSION() which is defined in wx/platform.h _after_ wx/setup.h inclusion. Replace wxCHECK_VISUALC_VERSION() with manual tests for _MSC_VER. Also add more comments to explain what's going on.

2010-04-03 11:58 SC, revision 63841

shuffling code back from eventloop to common app utils

2010-04-03 11:49 SC, revision 63840

no special casing for iphone necessary

2010-04-03 11:43 SC, revision 63839

fixing wrong version commit

2010-04-03 11:10 SC, revision 63838

support for toggle bitmap button

2010-04-03 08:59 SC, revision 63837

fixing multilib build

2010-04-02 23:30 VZ, revision 63833

Correct typo in configure introduced in r63832. See #11892.

2010-04-02 21:30 VZ, revision 63832

Allow using wxGraphicsContext with MinGW if gdiplus.h is available. MinGW doesn't include gdiplus.h but it can be installed independently by the user. Allow to use it if it's available: - Include windows.h when checking for it in configure as this is apparently needed for its compilation. - Don't reset wxUSE_GRAPHICS_CONTEXT to 0 for non-Microsoft compilers, instead just define it as 0 by default for them, allowing the user to simply change the definition in wx/msw/setup.h. Closes #11892.

2010-04-02 21:30 VZ, revision 63831

Fix crash in wxMediaCtrl::GetDownloadProgress() with ActiveMovie backend. IActiveMovie::get_FilterGraph() may return S_FALSE, i.e. succeed, while leaving the output pointer NULL. Check for this and don't dereference the pointer before checking for its validity. Also do it for the other call in this function just in case. And rearrange the code to be slightly more readable. Closes #11894.

2010-04-02 21:30 VZ, revision 63830

Show labels for controls in wxOSX/Carbon toolbars. Add a call to HIToolbarItemSetLabel(). Closes #11885.

2010-04-02 20:19 SC, revision 63829

keeping m_labelOrig untouched, solves test failures (FM)

2010-04-02 16:52 SC, revision 63828

simplifying modal event loop handling

2010-04-02 14:27 SC, revision 63827

moving OnInit to a later stage to avoid Carbon Emulation artifacts by the OS, fixes #11839

2010-04-01 19:16 PC, revision 63819

move everything inside wxUSE_RIBBON wrapper

2010-04-01 19:00 PC, revision 63818

avoid setting negative window sizes

2010-04-01 18:59 PC, revision 63817

don't try to create a color named "Default"

2010-04-01 11:59 JJ, revision 63816

Fix OpenVMS compile support for new version in src/stc

2010-03-30 23:38 FM, revision 63806

Committing modified version of jwiesemann's patch (see #11223): Fix wxURL copy ctor and assignment: the default ones provided by the compiler are wrong because wxURL uses pointers internally. Also add a test for copy & assignment in URLTestCase. Closes #11223

2010-03-30 18:14 PC, revision 63805

Remove unnecessary declarations. Contrary to the comment, they are not used often, in fact only once each and in the same file.

2010-03-30 14:02 JJ, revision 63804

correcting typo in commit 63803

2010-03-30 13:54 JJ, revision 63803

Defining wxCOMPILE_TIME_ASSERT for OpenVMS

2010-03-30 05:50 RD, revision 63792

Apply patch (plus some additional changes) upgrading Scintilla to version 2.03. Closes #11765, #11748, #11346

2010-03-29 23:31 FM, revision 63786

better docs for Get/SetLabel methods

2010-03-29 23:24 VZ, revision 63785

Fix compilation breakage in r63783. Added missing #endif.

2010-03-29 23:24 VZ, revision 63784

Only allow opening existing files in docview framework. Use wxFD_FILE_MUST_EXIST when asking the user for the name of the file to open. Closes #11866.

2010-03-29 22:57 VZ, revision 63783

Add wxUSE_FSWATCHER dependency on wxUSE_THREADS for wxMSW. wxFileSystemWatcher implementation uses threads under MSW and can't be compiled when wxUSE_THREADS==0.

2010-03-29 20:17 JMS, revision 63782

For better support of wxValidators, invoke wxValidator::Validate() directly. Also remove obsolete flag wxPG_FL_VALIDATION_FAILED and make wxPropertyGrid::DoEditorValidate() virtual.

2010-03-29 16:19 VS, revision 63781

Use fixed screen DPI of 96 when printing HTML. Unlike font sizes, which depend on screen resolution because of weird wxFont API, pixel sizes used elsewhere (and in particular, for images) shouldn't depend on screen DPI. This finally makes the output independent of screen size. Fixes #10942.

2010-03-29 16:18 VS, revision 63780

Removed useless wxDisplaySize() calls from wxHtmlPrintout.

2010-03-29 13:39 CE, revision 63779

2.8.11

2010-03-29 11:59 VZ, revision 63778

Add wxBitmap unit test. This should have been part of r63774.

2010-03-29 08:45 PC, revision 63777

build fix for IRIX

2010-03-29 08:44 PC, revision 63776

non-pch build fix

2010-03-29 03:16 PC, revision 63775

Reverse hierarchy of wxPizza GdkWindows widget->window must be topmost in order for GTK+ to calculate DND drop coordinates correctly fixes #11834

2010-03-29 01:20 VZ, revision 63774

Implement wxMask copy ctor for wxGTK. Without copy ctor copying masks simply crashed because the same pointer was deleted twice. Also added a (completely trivial but better than nothing...) unit test for wxBitmap to check that copying masks does work now. Closes #11854.

2010-03-29 01:20 VZ, revision 63773

Suppress gcc warnings about double to int conversion. This change might actually make the code more correct as well although in practice it probably doesn't change anything.

2010-03-29 00:39 VZ, revision 63772

Fix bug in wxMBConv_cf::FromWChar() in OS X. Apparently CFStringGetBytes() doesn't always behave as expected, work around this by checking that the returned buffer size is not greater than the size we passed in. Closes #11859.

2010-03-29 00:39 VZ, revision 63771

Clarify wxMenu objects allocation rules. Make it clear that only the menu directly passed to wxWindow::PopupMenu() doesn't need to be allocated on the heap and that its submenus still do. Closes #11851.

2010-03-29 00:34 VZ, revision 63770

Properly handle DC origin and scale in wxDoFloodFill() [backport of r57824]. Closes #4557.

2010-03-29 00:34 VZ, revision 63769

Use COLORONCOLOR stretching mode in DrawBitmap() too [backport of r60034 from trunk]. Closes #3400.

2010-03-29 00:34 VZ, revision 63768

Fix wxDateTime::GetWeekOfMonth() [backport of r62916 from trunk]. Closes #11561.

2010-03-29 00:23 FM, revision 63767

no real changes: just a small optimization on wxStaticText::DoSetLabel() to avoid altering m_labelOrig there (it's already modified by SetLabel(), no need to change it twice)

2010-03-28 19:55 VS, revision 63766

wxHTML: Support percentage width in IMG tag. (Patch #11800 by lpoujoulat) Fixes #11800.

2010-03-28 19:52 VS, revision 63765

Fix UTF-8 string storage in constant: use unsigned char.

2010-03-28 17:41 VS, revision 63764

Reverted wxFileSystem support in wxLocale. The implementation was broken in numerous ways. URLs were corrupted in search paths thanks to use of wxFileName for normalization. Lookup of catalogs was broken, because ":" in URLs were interpreted as path separators. Asserts occured because filenames were (incorrectly!) interpreted as URLs. Will replace with proper implementation. See #8793, #11491.

2010-03-28 17:41 VS, revision 63763

Fix wxFileSystem::FileNameToURL() for Unicode file names. If filename with non-ASCII characters was encoded, resulting URL contained non-ASCII characters. But URLToFileName() expected the input to be in UTF-8. This change fixes it by using UTF-8 for file: URLs in FileNameToURL() too. Fixes #11491.

2010-03-28 17:41 VS, revision 63762

Add test wxFileSystem::FileNameToURL,URLToFileName roundtrip with Unicode filenames. See #11491.

2010-03-28 16:37 VS, revision 63761

Preserve m_skipped in wx[Var]ScrollHelperEvtHandler::ProcessEvent. If the event was skipped and not processed, its "skipped" status would be lost.

2010-03-25 21:08 VZ, revision 63758

Fix compilation of wx/debug.h when it's the first wx header to be included. We must include wx/dlimpexp.h from wx/debug.h to be able to forward declare wxString and wxCStrData using WXDLLIMPEXP_FWD_BASE, otherwise compilation errors occur in the code which includes wx/debug.h as the first wx header.

2010-03-25 21:07 VZ, revision 63757

Allow overriding print preview frame creation in docview. Add a virtual wxDocManager::CreatePreviewFrame() which can be overridden to customize the print preview used by docview framework. Closes #11390.

2010-03-25 16:55 JMS, revision 63756

Fix focus at the end of a property label edit (needed at least for wxGTK)

2010-03-25 16:40 JMS, revision 63755

In wxPropertyGrid::HandleCustomEditorEvent(), ignore events coming from a label editor

2010-03-25 12:16 JJ, revision 63754

Updates to make wxWidgets compaile on OpenVMS again

2010-03-23 18:58 PC, revision 63751

better fix for #11803, don't set iconized state for hidden window

2010-03-23 18:19 PC, revision 63750

ignore iconized state when computing client size for GetBestSize(), fixes #11803

2010-03-23 16:14 JJ, revision 63749

Adding keyboard sample to OpenVMS makefiles

2010-03-23 11:49 VZ, revision 63748

Implement wxDocument::Revert() and show its use in the sample. wxDocument::Revert() method existed but didn't do anything, provide a default implementation for it. Also document it and show it in the sample. Closes #11849.

2010-03-23 11:36 VZ, revision 63747

Always call wxView::Close() when closing it. After wxDocView refactoring the behaviour has changed and wxView::Close() and hence user-overriddable OnClose() called from it) was only called if the close event could be vetoed. This broke code which relied on OnClose() being executed in any case to perform some cleanup and was incompatible with 2.8 so restore the old behaviour now.

2010-03-23 09:59 JS, revision 63746

Fixed ordering bug that caused an assertion because symbol list control wasn't set to unicode yet

2010-03-23 09:59 JS, revision 63745

Fixed ordering bug that caused an assertion because symbol list control wasn't set to unicode yet

2010-03-22 23:56 VZ, revision 63742

Add uiaction sample to the list of samples to build if enabled. The uiaction sample was never built under Unix, do add it to SAMPLES_SUBDIRS to enable building it if wxUSE_UIACTIONSIMULATOR==1.

2010-03-22 23:56 VZ, revision 63741

Let uiaction sample compile even if wxUSE_UIACTIONSIMULATOR==0. There is no way to exclude the sample from the build under Windows so make it compile and link even if wxUSE_UIACTIONSIMULATOR==0 but just give an error message on startup in this case instead of working as expected.

2010-03-22 23:56 VZ, revision 63740

Clarify wxDateTime::ParseDateTime() semantics: it needs both date and time. Correct documentation and also remove unnecessary initialization of variables and comments in the function itself. See #11846.

2010-03-22 17:08 VZ, revision 63739

Temporarily disable wxFileSystemWatcher unit test under OS X. This tests hangs and never finishes, disable it for now to allow buildbot to at least run the other tests.

2010-03-22 17:07 JMS, revision 63738

Fixed RefreshRect() call in wxPropertyGrid::DrawItems() to use physical window coordinates instead of logical grid ones

2010-03-22 12:40 VZ, revision 63737

Fix wxOSX compilation without PCH. Explicitly include wx/nonownedwnd.h as we use wxNonOwnedWindow in this file. Closes #11833.

2010-03-22 12:40 VZ, revision 63736

Add wxUSE_UIACTIONSIMULATOR and turn it off by default. Disable the recently added wxUIActionSimulator class until the issues with it mentioned at http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/119792/ are fixed. Also use "" around wx headers instead of <> in wx code itself. See #11801.

2010-03-22 12:40 VZ, revision 63735

Don't enter an infinite loop if a spacer with min size of -1 is used. Sizer layout algorithm broke down if min size of an item happened to be -1, i.e. the same value as we use as a sentinel for indicating that the min size hasn't been fixed yet. It doesn't make much sense for min size to be negative in the first place but currently this can happen at least for spacers so deal with it here by ensuring that the min size we use is positive. Closes #11842.

2010-03-22 12:40 VZ, revision 63734

Fix the selection validity check in wxSingleChoiceDialog. Fix the typo ("> 0" was used instead of ">= 0") introduced in r63731. Closes #11844.

2010-03-21 22:39 FM, revision 63733

reorder GetLabel(), GetLabelText(), SetLabel() and SetLabelText() function declarations, implementations and relative documentations. Add wxStaticTextBase::GetLabelWithoutMarkup() and use it in the wxMSW implementation of wxStaticText::SetLabel() to close bug #11446; the function RemoveMarkup() which was previously used in fact could not check for presence/absence of wxST_MARKUP style since it's a static function. Add wxStaticTextBase::SetLabelText() functions for symmetry with wxControlBase::SetLabelText() Add test unit for both wxControl::*Label* and wxStaticText::*Label* functions.

2010-03-21 12:06 VZ, revision 63732

Correct wxFILTER_DIGITS handling broken by r63582. The fix in r63582 accidentally omitted the "!" in wxFILTER_DIGITS check. Restore it. Closes #11838.

2010-03-21 12:06 VZ, revision 63731

Add initial selection parameter to wxGetSingleChoice() functions. Allow to easily specify the initially selected item. Closes #11749.

2010-03-21 12:06 VZ, revision 63730

Don't leak m_protocol in wxURL. Destroy the old protocol before creating it anew in ParseURL(). Closes #11796.

2010-03-20 15:08 JMS, revision 63727

Make wxPGVFBFlags an unsigned char define instead of wxByte typedef (easier time for wxPython bindings)

2010-03-20 14:18 VZ, revision 63726

Remove obsolete parts of wxPageSetupDialog documentation. Don't speak about features "new" in Windows 95 nor 4.0 any more (what next, discussion of wxWidgets limitations when running on an abacus?) but do mention that this dialog is native under all major platforms now. Closes #11820.

2010-03-20 14:18 VZ, revision 63725

Add wxMessageDialog::GetEffectiveIcon() and use it in all ports. Remove code duplication and inconsistencies among different ports by using a single function in the base class for the determination of the effective icon style to use, correctly handling both wxICON_NONE and the absence of any wxICON_XXX styles. Closes #11822.

2010-03-20 14:03 VZ, revision 63724
  • D /wxWidgets/trunk/src/x11/joystick.cpp

Remove unused and empty src/x11/joystick.cpp file. This was never implemented and is unlikely to ever be. In any case the file didn't contain anything useful.

2010-03-20 14:03 VZ, revision 63723

Rename wxWindow::GetMainWindow() to X11GetMainWindow() in wxX11. This avoids conflicts with GetMainWindow() defined in other wxWindow-derived classes (such as wxDataViewCtrl and potentially user-defined classes as well). Closes #11818.

2010-03-20 14:03 VZ, revision 63722

Fix a couple of harmless unused parameter warnings in wxX11. See #11818.

2010-03-20 14:02 VZ, revision 63721

De-TAB-bed src/x11/pango_x.cpp. This is necessary in order to be able to check in its modified version in the next commit.

2010-03-20 13:45 VZ, revision 63720

Fix some harmless unused parameter warnings. These warnings only happen in specific builds (when HAVE_LANGINFO_H and wxUSE_DISPLAY are undefined/off). See #11817.

2010-03-20 13:45 VZ, revision 63719

Check whether SA_RESTART is defined and don't use it if it isn't. SA_RESTART is not defined for QNX and not only VMS so test for it directly instead of testing for the platform. See #11817.

2010-03-20 13:45 VZ, revision 63718

Include sys/time.h from threadpsx.cpp for all systems. It's needed by Linux and QNX and shouldn't do any harm under the others. See #11817.

2010-03-20 13:45 VZ, revision 63717

Add support for QNX to dialup detection code. See #11817.

2010-03-20 13:45 VZ, revision 63716

Always include sys/time.h and sys/select.h from selectdispatcher.h. fd_set used by this header is supposed to be defined in sys/select.h and not including this header resulted in compilation problems under QNX. And including sys/time.h shouldn't hurt and is needed by select() under many systems anyhow. See #11817.

2010-03-20 13:45 VZ, revision 63715

Define wxGraphicsRenderer::GetDefaultRenderer() for all non-{MSW,Mac} ports. wxGraphicsRenderer::GetDefaultRenderer() was only defined for wxGTK for some reason but it needs to be defined in terms of GetCairoRenderer() for all ports without native renderer implementation, i.e. everything but wxMSW and wxMac. See #11817.

2010-03-20 13:45 VZ, revision 63714

Remove duplicate variable definition. The splitterX variable in wxPropertyGrid::HandleMouseMove() was defined twice with the same value, remove the second definition to avoid warnings about shadowing the variable in outer scope from some compilers. See #11817.

2010-03-19 23:35 FM, revision 63713

Fix various doxygen warnings

2010-03-19 10:57 VZ, revision 63712

Postpone initialization of owner-drawn menu metrics. Doing it during globals initialization time didn't work and could even result in a crash due to dereferencing a NULL wxTheApp pointer. Closes #11806.

2010-03-18 18:12 JMS, revision 63711

Clarify documentation for wxPropertyGridEvent::GetProperty()

2010-03-18 16:51 VZ, revision 63710

Return exit code as signed integer from wxExecute(wxEXEC_SYNC). The caller expects the function to return -1 if the child process exited with -1 error code and not 255 that was returned before. The function is also documented as returning -1 if the execution fails which wasn't true neither. Fix this by explicitly handling the exit code as signed. Closes #11824.

2010-03-18 16:14 VZ, revision 63709

Compilation fix for wxOS2 with Watcom. Assign BYTE* to pData variable in wxMenu::DoInsertOrAppend(), not char*.

2010-03-18 16:07 VZ, revision 63708

Ensure that setting wxChoice height to its default value does set it. Setting wxChoice height to its default value didn't change the height even if the current height was different from the default. This resulted in problems when a wxChoice was used inside a wxAuiToolBar because AUI temporarily reduces the toolbar size to (1, 1) when docking it (thus ensuring that the height of wxChoice is changed too) and generally didn't make sense. Fix this by resetting the height to the default value if the value passed to wxChoice::SetSize() is what it considers to be its default height. Add a unit test for this bug and also add a wxChoice to AUI sample to allow testing for wxChoice behaviour inside a wxAuiToolBar being [un]docked.

2010-03-18 16:07 VZ, revision 63707

Remove wxAuiProportionalBoxSizer hack and replace it with wxBoxSizer. The temporary workaround due to wxBoxSizer changes in 2.9.0 is not needed any more, revert r59889 and use wxBoxSizer instead of custom wxAuiProportionalBoxSizer again.

2010-03-18 16:07 VZ, revision 63706

Fix box sizer layout algorithm to respect both proportions and min sizes. The new version of the algorithm tries to distribute the entire space allocated to the sizer among its children, just as the version in 2.8 did, while still respecting minimal children sizes first and foremost. This means that the space allocated to the item will always be at least its minimal size if the total space is at least equal to the sum of minimal sizes of the children but that if there is enough space, the proportions will be respected too. Extended the unit test to check that laying out various combinations of three elements results in the expected results. Closes #11311.

2010-03-18 16:07 VZ, revision 63705

Ensure that size in the minor direction of box sizer doesn't exceed the total. This is similar to the previous commit but for the transversal direction of a box sizer: we could give an item size larger than the size of the sizer itself making only part of its window visible (and thus potentially making the window unusable e.g. because the scrollbar wasn't visible at all). Fix this by always restricting the item size in the minor direction to the total size available and add a unit test which failed previously and passes now.

2010-03-18 16:07 VZ, revision 63704

Ensure that size in the major direction of box sizer doesn't exceed the total. After fixing the problem with "growing items by negative proportion" in r56010 (which still was the correct thing to do as it fixed such indefensibly broken behaviour as shrinking items with larger proportion by more than "smaller" items when there was not enough space) the items in a box sizer could become larger than the total space allocated to the sizer resulting in only parts of them being visible. Fix this by truncating the items to the (remaining) total size even if this means making them less than their minimal sizes -- because there is nothing else we can do when the total space is smaller than the sum of minimal sizes anyhow. Closes #10008.

2010-03-18 16:07 VZ, revision 63703

Add (a very simple for now) wxBoxSizer unit test. Only check that layout for a single sizer item works correctly for now.

2010-03-18 16:02 VZ, revision 63702

Czech translation update from Herbert Breunung.

2010-03-17 19:17 JMS, revision 63700

Use explicit wxPGPropertyFlags enum type with wxPGProperty::SetFlag() and similar member functions (thus preventing use of incorrect set of flags). Also now document wxPGProperty flags.

2010-03-17 10:13 SC, revision 63699

fixing non-precomp builds

2010-03-17 09:05 SC, revision 63698

adding proper removal of observer for stacked event loops, using cfrunloop for console on osx as well

2010-03-17 08:14 SC, revision 63697

streamlining OSX event support third step, using platform specific native run methods for event loops

2010-03-16 20:13 RR, revision 63694

Don't use grouping of different methods as this creates confusing output

2010-03-16 15:48 VZ, revision 63693

Add white outline to bulls eye cursor used under MSW. The cursor used black circles only making it perfectly invisible on black background. Add a white outline as well to ensure that it can be seen in this case too, similarly to how it's done for magnifying glass cursor and the same bulls eye cursor in GTK+.

2010-03-16 01:23 VZ, revision 63690

Initialize picker style in native GTK file/dir pickers. This fixes the styles used in the native wxGTK version after changes in r63654: we must initialize base class m_pickerStyle now and the code didn't do this before resulting in various asserts and incorrect behaviour.

2010-03-15 20:31 SC, revision 63689

streamlining OSX event support second step, moving pending and idle event handling to runloop-observer, see #11805, see #11797

2010-03-15 16:40 SC, revision 63687

streamlining OSX event support first step, see #11805, see #11797

2010-03-14 18:15 JMS, revision 63686

Fixed label editor position for child properties

2010-03-14 15:47 VZ, revision 63685

Fix test for compilers not supporting \u escapes in strings (such as VC6). Also reformat the code to follow wx style and explicitly use UTF-8 for the test strings encoding instead of assuming the encoding of the current locale was UTF-8 (which is never the case under Windows).

2010-03-14 15:44 VZ, revision 63684

Set correct properties for the new file added in r63660.

2010-03-14 15:15 VZ, revision 63683

Use an appropriate icon automatically in wxMSW wxMessageDialog. wxMessageBox() functions uses wxICON_QUESTION or wxICON_INFORMATION automatically if no other icon style (including wxICON_NONE) is specified but wxMessageDialog under MSW didn't do this, unlike under e.g. wxGTK. Fix this by also determining the appropriate icon automatically in wxMessageDialog itself in wxMSW. Ideally we'd do this in all ports wxMessageDialog implementations and remove the code doing it from wxMessageBox() but right now it's still needed for the platforms other than wxMSW and wxGTK.

2010-03-14 15:15 VZ, revision 63682

Document that message box with wxYES_NO but without wxCANCEL can't be closed. Recommend using these styles together to avoid it.

2010-03-14 15:15 VZ, revision 63681

Add a "not specified" icon style to the message box test dialog. The sample allowed to test the behaviour with all wxICON_XXX including wxICON_NONE but not without any icon styles at all. Do allow it now. Also use symbolic names for the radiobox indices for clarity.

2010-03-13 22:58 VZ, revision 63680

Use event tables instead of Bind() in uiaction sample. This should fix VC6 build broken by addition of this sample as VC6 doesn't support Bind(). Luckily, there is no need to use it here anyhow.

2010-03-12 23:59 VZ, revision 63664

Add minimal support for QNX to configure. Recognize QNX and define __QNX__ under it. Don't use -lpthreads as the thread functions are in libc under QNX. Use wxX11 by default. See #11790.

2010-03-12 15:38 JMS, revision 63663

Fixed property editor re-positioning when additional column editor (e.g. label editor) is used

2010-03-12 10:36 VZ, revision 63662

Revert unneeded fix for list control headers from r63177. The call to SetItemMinSize() shouldn't be needed and the latest OS X version does work correctly without it. Apparently the real bug was fixed somewhere else in the meanwhile. Closes #11309.

2010-03-12 10:27 VZ, revision 63661

Correct query for formats supported by wxDataObject in wxGTK wxClipboard. We wrongly asked wxDataObject for the formats it could provide on output instead of those it accepted as input in wxClipboard::GetData() in wxGTK. This could result in clipboard not working for "asymmetrical" data objects. See #11811.

2010-03-10 14:57 FM, revision 63660

Fix function wxControlBase::DoEllipsizeSingleLine to really make sure that the ellipsized string takes less pixels than maxFinalWidthPx. Add comments to explain in more details what the function does and in particular the valid ranges of all internal variables; fix in that regard both the code of both wxELLIPSIZE_START, wxELLIPSIZE_MIDDLE and wxELLIPSIZE_END. Add more asserts to check the valid ranges and turn a couple of time-expensive checks in level-2 asserts. Add a test unit for the wxControl::Ellipsize function. Fix minor details in the docs of wxControl::Ellipsize. Closes #11567.

2010-03-10 12:07 FM, revision 63659

no real changes, just rename the variables to make the code more readable and to prepare everything for the next commit: - add postfix "Px" to all variables containing numbers of pixels - add postfix "ToRemove" to initialChar and nChars vars to make it clear what they are for

2010-03-09 12:08 VZ, revision 63658

Use _UNICODE instead of UNICODE in wx/msw/winundef.h. This is consistent with the other checks and generally more correct.

2010-03-09 00:34 VZ, revision 63655

Another German translation update from Herbert Breunung. German translation is now 100% complete again.

2010-03-08 20:37 VZ, revision 63654

Use correct style for the dialog shown by generic file/dir pickers. The picker styles don't make sense for the button so we don't use them when creating the button but we do need to somehow use the style the picker was created with to create an appropriate dialog when it's clicked. Fix the problem by simply storing the style in a member variable and using it instead of wxWindow::m_windowStyle. Closes #11635.

2010-03-08 13:21 VS, revision 63653

Fix wxTlsValue<> memory leaks. Win32 API doesn't provide pthreads-like destructors, so we need to emulate them to free per-thread allocated memory.

2010-03-08 12:08 SC, revision 63652

pending events detected didn't work properly, go the safe route now, fixes #11797

2010-03-07 17:03 FM, revision 63650

Provide more details about the major and minor version numbers returned by wxGetOsVersion() under linux,mac,windows. Document that wxOS_UNIX, wxOS_MAC and wxOS_WINDOWS enum values are combinations of other values (unfortunately doxygen does not show the definition of those symbols in the HTML docs so we need to explicitely state that).

2010-03-07 12:37 VZ, revision 63649

German translations update from Herbert Breunung.

2010-03-07 11:46 VZ, revision 63648

Skip wxChildFocusEvent in wxAuiNotebook handler. There doesn't seem to be any good reason to eat the event in this handler, leave it for the others if needed. See #11785.

2010-03-07 11:46 VZ, revision 63647

Show pages icons in window list menu in wxAuiNotebook. Reuse the tab icons in the wxAuiNotebook window list menu. Closes #11785.

2010-03-06 22:30 KO, revision 63646

Add uncommitted uiaction `sample bakefiles.

2010-03-06 21:15 KO, revision 63645

Rebake after wxUIActionSimulator addition.

2010-03-06 21:09 KO, revision 63644

Adding wxUIActionSimulator, a class for programmatically controlling the mouse and keyboard.

2010-03-06 14:30 VZ, revision 63642

Reset wxAuiNotebook selection to wxNOT_FOUND if it becomes empty. The selection was 0 in a notebook without any pages which was wrong as it must always be less than the page count. Fix this in wxAuiNotebook itself and add an assert checking for this invariant to the sample.

2010-03-06 05:51 KO, revision 63641

A call to wxPopupWindow::Show shouldn't automatically cause the popup window to steal focus.

2010-03-06 05:15 KO, revision 63640

Add git source control dirs to the list of excludes.

2010-03-06 05:08 KO, revision 63639

Add create-archive.py to wx source tree.

2010-03-06 01:31 VZ, revision 63638

Don't store header height in generic wxListCtrl member variable. This is simply unnecessary and resulted in a crash in wxDFB because the window was used for this variable initialization before being created. Closes #11711.

2010-03-06 01:31 VZ, revision 63637

Fix toggling the header in the generic wxListCtrl. We need to update the lfags first before deciding whether we should create or destroy the header. Also add a test for toggling the header to the listctrl sample.

2010-03-06 00:56 VZ, revision 63636

Don't stop dragging in the grid when the mouse leaves the window. Unexpected/unaccounted for mouse leaving and entering events stopped the drag operation currently in progress in wxGrid. And while it was resumed later, this resulted in the mouse being captured only twice but released only once. Fix this by ignoring the leaving and entering events and checking that we don't capture the mouse again. Closes #11662.

2010-03-06 00:55 VZ, revision 63635

Fix memory leak in wxDataViewListStore::DeleteItem(). The item data needs to be deleted in addition to simply removing it from the internal storage. Closes #11757.

2010-03-06 00:55 VZ, revision 63634

Correct IsMaximized() in wxOSX for non-resizable windows. NSWindow isZoomed always returns true in this case, so check the window rectangle ourselves to determine whether it's maximized. Closes #11734.

2010-03-06 00:55 VZ, revision 63633

Make the code more clear in aui sample and avoid g++ 4 warning. The code used bitwise XOR which was rather difficult to read and also resulted in g++ 4 warnings about suggested parentheses. Fix both issues by using bitwise AND and OR in two separate statements instead.

2010-03-06 00:55 VZ, revision 63632

Implement wxBookCtrlBase::CalcSizeFromPage() in the base class. The definition of this method was needlessly duplicated in all of wx{Choice,List,Tool,Tree}book and in all of them except the first one it didn't account correctly for the case when the size of the controller was greater than the size of the page. Avoid the duplication and fix the best size determination in such case by providing a single, correct version of the function in the base class itself. Closes #11793.

2010-03-06 00:55 VZ, revision 63631

Avoid conflict between accelerators in the notebook sample. Ctrl-5 was used both for the treebook in the "Type" menu and default orientation choice in the "Orientation" menu. Use Alt-[0..4] for the "Orientation" menu entries.

2010-03-06 00:55 VZ, revision 63630

No changes, just remove redundant GetControllerSize() definitions. For some reasons wxBookCtrlBase::GetControllerSize() was redefined in several derived classes even though it did exactly the same thing in all of them. Leave only the base class version and remove the other ones.

2010-03-06 00:55 VZ, revision 63629

Correct controller size determination in wxToolbook. The old code used the current toolbar size instead of determining its best size for some strange reason and this resulted in toolbar remaining of tiny (1 pixel) height at least under wxGTK. Fix this by simply using the best size of the toolbar. Closes #11606.

2010-03-06 00:55 VZ, revision 63628

Use wxWindow::ReleaseMouse() instead of MSW ::ReleaseCapture() function. As we capture the mouse using wxWindow::CaptureMouse(), we must release it with ReleaseMouse() and not just ReleaseCapture(). Closes #11791.

2010-03-05 21:51 FM, revision 63627

define TARGET_CPU (as a variable) also for formats using MSVS_PLATFORM; this allows a simpler logic in the following tests (and in the user bakefiles)

2010-03-04 16:09 JMS, revision 63624

Moved property unattachment code from wxPropertyGridInterface::RemoveProperty() to wxPropertyGridPageState::DoDelete() - fixes deferred removal issue

2010-03-04 09:29 SC, revision 63623

no existing on iphone

2010-03-04 00:00 SC, revision 63622

fixing leak, fixes #11781

2010-03-03 22:52 SC, revision 63621

fixing leak, fixes #11782

2010-03-03 17:53 SC, revision 63620

using native fullscreen support and ShowEvent triggers

2010-03-03 17:51 SC, revision 63619

fixing warning

2010-03-03 17:33 SC, revision 63618

make sure ShowEvent doesn't get triggered to early during construction

2010-03-03 15:19 VZ, revision 63617

Allow using version-specific vc prefix in msvc/wx/setup.h. We still use just "vc" by default for compatibility but allow the user to predefine either wxMSVC_VERSION or wxMSVC_VERSION_AUTO to use the specified or version-dependent prefix instead. This is very convenient when using multiple MSVC versions. See #11022.

2010-03-03 15:19 VZ, revision 63616

Use correct directory names in msvc/wx/setup.h for 64 bit builds. Use _amd64 and _ia64 suffixes if _M_X64 or _M_IA64 is defined. Closes #11022.

2010-03-03 15:19 VZ, revision 63615

Added Arabic translation from Abdullah Abouzekry.

2010-03-03 15:19 VZ, revision 63614

Fix wxCommandProcessor compilation with wxUSE_ACCEL==0. Leave the accelerator strings empty in this case. Closes #11783.

2010-03-03 08:17 RD, revision 63613

Layout the immediate parent of the info bar as described in the docs, not the top-level parent.

2010-03-03 02:08 VZ, revision 63609

Document that images in buttons and menus might not be shown under GTK. Mention gtk-{button,menu}-images GTK+ settings. See #11369.

2010-03-03 01:35 FM, revision 63608

add 64bit support to those formats which I could test and which support 64bit build modes (msvc, msvs2005prj and msvs2008prj) by adding a TARGET_CPU option similar to what wxWidgets bakefiles do (note the absence of the WX_ prefix since it does not make sense to have a wx-specific architecture); this additional feature allows correct inclusion of the vc_[amd64|ia64]_[lib|dll] path when building a wx-based project on Windows.

2010-03-03 00:21 FM, revision 63606

(minor change) update list of supported Windows versions

2010-03-02 21:46 VZ, revision 63605

Use user locale with Latin-1 as fallback for command line arguments. Command line arguments can contain characters outside of 7 bit ASCII range. Assume that they use the default user encoding but fall back to Latin-1 if conversion failed. Closes #11754.

2010-03-02 19:16 VZ, revision 63604

Don't use m_macToolbar in wxOSX wxToolBar if it is NULL. This fixes a crash when a native toolbar is not used by wxToolBar as it happens when it's used by wxToolbook for example. Closes #11775.

2010-03-02 19:16 VZ, revision 63603

Enclose code using m_macToolbar in #if wxOSX_USE_NATIVE_TOOLBAR. Don't use m_macToolbar which is only used when the toolbar is a native one when we don't really use the native toolbar. This should fix compilation in case wxOSX_USE_NATIVE_TOOLBAR is 0.

2010-03-02 01:23 RD, revision 63602

Document GetBitmapMargins

2010-03-02 01:20 VZ, revision 63601

Fix another incorrect file name conversion in wxGTK. GTK file paths are in UTF-8 and not ASCII. Really closes #11743.

2010-03-02 01:15 VZ, revision 63600

Always use UTF-8 for GTK+ strings [backport of r63549 from trunk]. Strings returned and accepted by GTK+ functions always use UTF-8 independently of the current locale and of the file name encoding we use. So use UTF-8 instead of wxConvFileName everywhere where we deal with GTK+ directly. Closes #11743.

2010-03-02 00:45 VZ, revision 63599

Fix crash when accessing clipboard before entering the main loop. Check that we have an event loop running before yielding to it. Notice that we really do need an event loop in wxClipboardSync as events must be dispatched for the clipboard code to work so while not using the event loop if it doesn't exist would have fixed a crash as well, it wouldn't allow to use the clipboard in e.g. wxApp-derived class OnInit().

2010-03-02 00:20 RD, revision 63595

Invalidate best size when the bitmap or bitmap position changes. Add GetBitmapMargins

2010-03-01 23:54 RD, revision 63594

Use the correct event class for the window modal notification

2010-03-01 16:30 JMS, revision 63593

Have to implement wxPGProperty::DeleteChildren() differently so that it will work with deferred property deletion

2010-03-01 16:26 JMS, revision 63592

Have to check for wxPG_SPLITTER_AUTO_CENTER style before setting propgrid column proportion in the sample

2010-02-28 18:29 SC, revision 63590

translate 0.5 offset into user space before applying translation, see #11769, see #11771

2010-02-28 18:27 SC, revision 63589

moving header for precomp builds

2010-02-28 12:30 VZ, revision 63587

Simplify and correct bugs in wxMSW wxScrollBar message handling. For some reason we computed scroll increment from the native message and not the new position directly which is actually simpler and probably would have never resulted in a bug which exchanged the meanings of SB_TOP and SB_BOTTOM. Get rid of nScrollInc and just update the position variable directly. Closes #11741.

2010-02-28 12:30 VZ, revision 63586

No real changes, just cleanup wxMSW wxScrollBar a little. Get rid of old, Win16-compatible, commented out code.

2010-02-28 12:09 VZ, revision 63585

Make it possible to use wxCharBuffer during program initialization. wxCharBuffer might be used during static initialization, even if only implicitly. E.g. it is used by wxString::Format() which can be used to initialize a global string. But it uses the global s_untypedNullData variable might not be initialized yet resulting in mysterious failures. Fix this in the usual way by wrapping access to the variable via a function.

2010-02-28 12:09 VZ, revision 63584

Only add -woff 3970 to C[XX]FLAGS when using SGI mipsPro 7.4.4 or later. Previous mipsPro versions don't give this warning but do warn about "unknown warning number 3970" if we use this -woff which is even more annoying than original warning we tried to suppress. This is a forward port of r45896 which somehow was only applied to 2.8 branch.

2010-02-28 12:09 VZ, revision 63583

Compilation fixes for wide char functions under IRIX with mipsPro. Use correct (XPG5, not XPG4) version of wcsftime(). Bring the wide char functions only declared in std namespace into global one under IRIX. Declare vswscanf() ourselves as we just don't seem to get its declaration from C++ code (only from C99). Add a cast to fix incorrect putws() signature. All these fixes apply to IRIX 6.5.18 with mipsPro 7.4.2. It doesn't seem to add configure checks for most of the above fixes as previous versions of both the OS and the compiler should be completely extinct by now but we may need to do it if anybody is still found to use them.

2010-02-28 12:09 VZ, revision 63582

Fix for wxStringCheck compilation under IRIX using mipsPro. IRIX mipsPro 7.4 refuses to instantiate a template with an inline function as parameter. Work around this by using a function taking a function pointer instead of using template wxStringCheck with inline wxIs{alpha,alnum,digit}.

2010-02-28 12:09 VZ, revision 63581

Always declare wxCStrData::As[W]Char() as being inline. This fixes warnings with IRIX mipsPro and not only mingw32 and probably doesn't do any harm with the other compilers.

2010-02-28 12:09 VZ, revision 63580

Rearrange functions order so that they are effectively inlined. Define wxSizer::Insert(size_t, wxSizerItem *) before it is used so that it could really be inlined. This also fixes an IRIX mipsPro compiler warning.

2010-02-28 12:08 VZ, revision 63579

Fix compilation with GTK+ 2.4. Support for ellipsization in GtkTreeView and gtk_window_set_focus_on_map() are new in 2.6, don't use them with 2.4.

2010-02-28 12:08 VZ, revision 63578

Support IRIX version of OpenGL multi sampling constants. Although OpenGL multi sampling extensions originated under IRIX, it doesn't seem to use the standard names for the constants used and uses "SGI" suffix for them instead of "ARB". Add support for IRIX versions of GLX_SAMPLE_BUFFERS_ARB and GLX_SAMPLES_ARB and also check if these constants are defined at all to avoid compilation errors if they are not.

2010-02-28 12:08 VZ, revision 63577

Fix the STC sources generation script to work with ancient Python. Don't use True, set and join method of string objects which didn't exist in prehistoric Python versions (such as 1.5 bundled with IRIX) as we can easily work around their lack by using 1, list and string module join method instead.

2010-02-28 12:08 VZ, revision 63576

No real changes, just remove an unused variable. This fixes a warning from IRIX mipsPro compiler.

2010-02-28 12:08 VZ, revision 63575

Remove unused NO_SORT constant. This fixrs an IRIX mipsPro compiler warning.

2010-02-28 12:08 VZ, revision 63574

Include <locale.h> to get LC_XXX constants declaration. This fixes a compilation error under IRIX when using mipsPro.

2010-02-28 12:08 VZ, revision 63573

Remove unnecessary comparison of unsigned variable with 0. m_httpsize is of type size_t and so is always >= 0, no need to check for it. And removing the check avoids a warning from at least IRIX mipsPro (and probably others).

2010-02-28 12:08 VZ, revision 63572

Remove unused static constant. HOURS_PER_DAY was used only in the part of the code which was moved to src/common/datetimefmt.cpp and some compilers (e.g. IRIX mipsPro) now warn about an unused static constant in datetime.cpp, so just remove it from there.

2010-02-28 12:08 VZ, revision 63571

Include the real iostream header and not just iosfwd from wx/stdstream.h. We need to include full [io]stream declaration and not just forward declare them to be able to define classes deriving from them. Surprisingly, including just <iosfwd> seems to work under most systems but it does not under IRIX. So include the full <iostream> (or <iostream.h>) to be sure to get what we need.

2010-02-28 11:16 JMS, revision 63570

Sometimes change in varscrollable window's size can result in unused empty space after the last item. Fix it by decrementing first visible item position as long there is available space (fixes #11758).

2010-02-27 03:51 KO, revision 63564

Override CanFocus because the wxWindow level test will check if the NSTextView's parent scrollview can get keyboard focus, and will return no, meaning that wx won't set the focus to the text ctrl.

2010-02-26 16:45 JMS, revision 63562

Must clear property selection in wxPGProperty::SetChoices() or risk a crash

2010-02-26 15:10 VZ, revision 63561

Fix assert when using year or decade view in Windows 7 calendar control. Windows 7 native calendar control is capable of showing more than 3 months simultaneously in its year or decade view which is shown when the user zooms out of the month view by double clicking the control header. This resulted in an assert failure in the code, update it to simply not do anything in this view.

2010-02-26 15:09 VZ, revision 63560

Fix assert on wxCalendarCtrl creation under Windows 7. Unlike previous versions of Windows, 7 includes the time component in the return value of MonthCal_GetCurSel() and because of it the comparison with m_date (which doesn't have any time part) fails. Fix this by comparing just the date parts of the two wxDateTime objects.

2010-02-26 15:09 VZ, revision 63559

Add pretty-printers for wxPoint, wxSize and wxRect. Also replace an if checking for the supported types with an array-based approach to make it easier to add pretty printers for more types in the future.

2010-02-25 16:05 JMS, revision 63557

Added work around in wxPropertyGrid for a wxTextCtrl beep on enter press

2010-02-25 15:04 JMS, revision 63556

Fixed property Hide command

2010-02-25 01:04 VZ, revision 63555

Initialize wxhInstance in console MSW applications too. Console applications still may need to create windows and for this a valid HINSTANCE is needed. So set it ourselves during wx initialization. Closes #11727.

2010-02-25 01:03 VZ, revision 63554

Use wxGetInstance() instead of wxhInstance in wxMSW code. No real changes, just use an accessor function instead of directly accessing the global variable.

2010-02-25 01:03 VZ, revision 63553

Include wx/defs.h from all our public headers, including wx/imaglist.h. Without including wx/defs.h first, symbols such as __WXMSW__ are not defined if this header is the first wxWidgets header to be included. Closes #11718.

2010-02-25 01:03 VZ, revision 63552

Fix harmless g++ 4.3 warning about suggested parentheses. Closes #11719.

2010-02-25 01:03 VZ, revision 63551

Fix multiple bugs in non-ownerdrawn wxListBox after recent merge. Changes done in ownerdraw-refactor branch have broken non-ownerdrawn list boxes as the code was now using m_aItems array even for them but it's not used in this case. Also remove unnecessarily overridden Delete() method which didn't add anything to the base class implementation but just deleted the same m_aItems pointer twice. Also use HasFlag(wxLB_OWNERDRAW) everywhere consistently instead of testing for it manually. Closes #11729.

2010-02-25 01:03 VZ, revision 63550

Document the use of --disable-gui for building wxBase. We don't have a special configure version for wxBase where GUI is off by default and it doesn't seem to be worth the trouble to create one. Instead just tell people to use --disable-gui themselves. Closes #11733.

2010-02-25 01:03 VZ, revision 63549

Always use UTF-8 for GTK+ strings. Strings returned and accepted by GTK+ functions always use UTF-8 independently of the current locale and of the file name encoding we use. So use UTF-8 instead of wxConvFileName everywhere where we deal with GTK+ directly. Closes #11743.

2010-02-25 01:03 VZ, revision 63548

Compilation fixes in wxHTML for wxUSE_CONFIG==0. Surround uses of wxConfig with #of wxUSE_CONFIG in wxHTML code. Closes #11750.

2010-02-25 01:03 VZ, revision 63547

Document more wxDC drawing functions overloads. Document overloads taking wxPoint/wxSize/wxRect in addition to the versions taking individual wxCoords. Closes #11752.

2010-02-24 23:09 BP, revision 63546

Fixed typo in wxDataViewIconTextRenderer docs.

2010-02-24 12:32 JS, revision 63543

wxTE_PROCESS_ENTER isn't just for Windows.

2010-02-23 18:32 SC, revision 63542

proper app shutdown support for iphone

2010-02-23 16:29 JMS, revision 63540

Set up default property grid unspecified value colour

2010-02-23 16:24 JMS, revision 63539

When drawing wxPropertyGrid check box editor, be consistent with the other editors and use dc.GetTextForeground() for obtaining check box colour

2010-02-22 18:04 JMS, revision 63535

Rename property pending for deletion so it won't be in the way of the user code

2010-02-22 17:44 JMS, revision 63534

Property removal and deletion done from wxPropertyGrid event handler is now postponed to idle event

2010-02-22 02:56 KO, revision 63533

Cocoa text fields and views have their own context menus, so we should use those instead.

2010-02-19 08:01 KO, revision 63522

Since wxDialog::Show(false) only calls wxWindow::Show, we must explicitly hide the dialog ourselves.

2010-02-19 08:00 KO, revision 63521

Typo fix.

2010-02-19 04:00 KO, revision 63519

Disable sending of events by OS X Combobox during programmatic changes.

2010-02-18 10:34 CE, revision 63512

fix trac 11733 (part2, missing xml.h in base tarball)

2010-02-16 17:24 JMS, revision 63502

Fixed auto-resizing behavior when double-clicking a splitter; Added wxPropertyGrid::ResetColumnSizes(); wxPropertyGrid::GetSplitterPosition() got splitterIndex argument

2010-02-16 16:38 JMS, revision 63501

Added wxPropertyGridInterface::GetColumnProportion()

2010-02-16 15:15 JMS, revision 63499

Added missing words in event documentation

2010-02-16 15:12 JMS, revision 63498

Document wxEVT_PG_CHANGED

2010-02-16 10:44 MW, revision 63497

Add user for buildbot notifications.

2010-02-15 18:34 RD, revision 63486

Apply new patch fixing problem of IsRunning always returning True. See #11699

2010-02-15 18:30 RD, revision 63485

Apply new patch fixing problem of IsRunning always returning True. See #11699

2010-02-15 05:23 KO, revision 63484

Implement case-insensitive find and read only support for Cocoa combobox.

2010-02-14 16:27 VS, revision 63483

Fix wxHtmlWindow to correctly decide whether to show scrollbars. wxHtmlWindow::CreateLayout()'s algorithm was both naive (not properly accounting for scrollbar visibility changes during layout) and broken (incorrectly rounding when computing scroll steps and adding GetCharHeight() value to the height in an attempt to mitigate the harm). This algorithm should properly for scrollbars in all situations. Rounding is done in such way that the content is fully viewable, while at the same time not showing scrollbars needlessly.

2010-02-14 15:37 JMS, revision 63482

Added note about removed member function wxPropertyGrid::CanClose()

2010-02-14 15:09 JMS, revision 63481

Added wxPropertyGridInterface::SetColumnProportion(); wxPG_SPLITTER_AUTO_CENTER window style now supports column counts higher than two.

2010-02-13 07:30 KO, revision 63477

Basic support for tooltips under OS X Cocoa.

2010-02-12 23:47 VZ, revision 63474

Fix compilation of wx/scopeguard.h with g++ -fno-exceptions. Don't use try/catch in public headers if exceptions support is disabled with a compiler switch.

2010-02-12 23:47 VZ, revision 63473

Remove wxHAS_NAMESPACES and gcc 2.95 checks. We use namespaces elsewhere without any checks now so it doesn't make sense to keep checking for them here. We also don't support g++ 2.95 since ages so no need to check for it neither.

2010-02-12 12:22 VZ, revision 63471

Ukrainian translations update from Yuri Chornoivan. Also changed charset from KOI8-U to UTF-8for ease of maintenance.

2010-02-11 13:48 VS, revision 63467

Make it possible to subclass wxMenuBar in XRC (patch #11679).

2010-02-11 13:47 VS, revision 63466

Make it possible to subclass wxMenuBar in XRC (patch #11679).

2010-02-11 13:36 VS, revision 63465

Fixed possible buffer overflow in wxXmlResource::GetXRCID() (patch #11715).

2010-02-11 13:36 VS, revision 63464

Fixed possible buffer overflow in wxXmlResource::GetXRCID() (patch #11715).

2010-02-10 17:45 JMS, revision 63458

Removed most of the propgrid '#ifndef SWIG' pre-compiler conditions

2010-02-10 14:31 VS, revision 63457

Fixed wxGauge's best size to conform to Windows HIG.

2010-02-10 12:38 VZ, revision 63456

Move wxPosixPermissions definition from wx/file.h to wx/filefn.h. This fixes compilation with wxUSE_FILE=0 as wxFileName::Mkdir() still uses these constants but their definitions were not available in this case.

2010-02-09 10:35 SC, revision 63437

support fullscreen display (translucent status) in all 4 orientations

2010-02-09 02:34 RD, revision 63434

Test m_nowpeer pointer before using it.

2010-02-09 02:33 RD, revision 63433

Set Id and EventObject for wxSetCursorEvent

2010-02-09 02:32 RD, revision 63432

Ignore the time portion of the datetime object when setting the date.

2010-02-09 02:24 RD, revision 63431

Remove functions duplicated in dnd_osx.cpp.

2010-02-08 21:06 RD, revision 63422

Allow more than one timer with the same ID. Closes #11699.

2010-02-08 20:52 VZ, revision 63421

Add support for showing "elevation" icon in wxMSW buttons. Add, document and test in the widgets sample wxButton::SetAuthNeeded(). Closes #11705.

2010-02-08 20:38 RD, revision 63420

Allow more than one timer with the same ID. See #11699.

2010-02-08 08:20 SC, revision 63419

adding carbon event missing in 10.4 headers

2010-02-07 03:43 KO, revision 63417

Implement EVT_MAXIMIZE support for OS X Cocoa.

2010-02-06 19:19 KO, revision 63416

Fix handling of the *.* extension case, before this fix it was being passed as a "*" filter to the Cocoa dialog which, not being a valid extension, meant that no files were selectable.

2010-02-06 18:00 KO, revision 63415

Get wxSearchCtrl text events working, and share the text event handler code among all the various wxTextCtrl-based classes.

2010-02-06 17:42 KO, revision 63414

Forgot about the drag source delegate, which is the perfect place to put GiveFeedback related handling.

2010-02-06 02:45 KO, revision 63412

Add an accessor to get the current drop source from window.mm so that we can implement GiveFeedback support, and also move a couple functions that check the current drop source into common DND OS X code as a result.

2010-02-05 20:05 VZ, revision 63406

Remove unnecessary <vector> inclusion. This header doesn't seem to be used anywhere and we try to avoid any STL dependencies in 2.8 branch.

2010-02-05 20:03 VZ, revision 63405

Don't include wx/rawbmp.h unnecessary from src/generic/graphicc.cpp. This is not only unneeded but also breaks wxX11 (and probably other ports) compilation because raw bitmap access is not available there. Closes #11700.

2010-02-05 02:17 VZ, revision 63393

Rebake Makefile.in with correct shared libraries version. Modifying version.bkl in r63297 wasn't enough, Makefile had to be rebaked as well.

2010-02-05 01:27 RD, revision 63392

subrelease number should be reset to zero when incrementing the release number

2010-02-05 01:26 RD, revision 63391

Set the ID and event object for wxSetCursorEvents

2010-02-05 01:26 RD, revision 63390

Backport r62977 and others from trunk to allow timers with ID of zero.

2010-02-04 08:26 JJ, revision 63384

undefine not working FSWATCHER from OpenVMS compile setup

2010-02-04 02:33 VZ, revision 63383

Extract wxSTOCK_WITHOUT_ELLIPSIS from wxSTOCK_FOR_BUTTON. Make it possible to use this flag on its own, without wxSTOCK_WITH_MNEMONIC which is also part of wxSTOCK_FOR_BUTTON. This can be useful for e.g. toolbar buttons. Closes #11681, #11682.

2010-02-04 02:20 VZ, revision 63382

Fix selection event sending for Ctrl-click in generic wxDataViewCtrl. Ctrl-clicking on the only currently selected item in wxDataViewCtrl crashed because we dereferenced first element of the empty m_selection array when generating the selection change event. Instead, send the event for the current item, this should be more consistent with the native versions behaviour and at the very least doesn't crash. Closes #11684.

2010-02-04 02:02 VZ, revision 63381

Make wxDataObjectComposite::GetObject() public. Allow retrieving individual wxDataObjects from wxDataObjectComposite and add an example showing how can this be done to the documentation. Closes #11692.

2010-02-03 22:07 VZ, revision 63379

Test wxTE_PROCESS_ENTER style in the widgets sample. Add a checkbox for toggling wxTE_PROCESS_ENTER to the text page and use this style by default. This makes it easier to check that this style works as intended, including that it generates the correct events. See #11691.

2010-02-03 22:07 VZ, revision 63378

Correct the bounding box calculation in wxGTK wxDC::DrawBitmap(). Take into account the axis direction when calculating the bounding box. This is consistent with not reversing the bitmap even when the axis are reversed which is probably the expected behaviour.

2010-02-03 22:07 VZ, revision 63377

Fix bug in wxMSW wxMessageDialog when the text was empty. Don't crash in ReplaceStaticWithEdit() dereferencing an invalid end()-1 iterator in this case, use the always valid rbegin() instead.

2010-02-03 22:07 VZ, revision 63376

Correct bounding box calculation in wxGTK wxDC::DrawText(). Physical coordinates were incorrectly used to update the bounding box instead of the logical ones.

2010-02-03 12:43 JS, revision 63374

Don't select all if there is nothing to select.

2010-02-03 12:42 JS, revision 63373

Don't select all if there is nothing to select.

2010-02-03 10:51 JS, revision 63372

Don't delete previous character when pressing Del at end of buffer.

2010-02-03 10:51 JS, revision 63371

Don't delete previous character when pressing Del at end of buffer.

2010-02-03 09:32 SC, revision 63370

safe degradation

2010-02-03 07:08 KO, revision 63366

Rebake after DND changes.

2010-02-03 06:31 KO, revision 63365

Refactor DND code into Carbon and Cocoa parts, and provide a basic OS X Cocoa implementation for wxDropSource::DoDragDrop.

2010-02-03 06:22 KO, revision 63364

Add sanity check on the item number.

2010-02-02 23:19 JS, revision 63358

Fixes for incorrect selection, extra newline insertion when undoing deletion of selection, insufficient refresh for operations on last line, HasCharacter/ParagraphAttributes bug.

2010-02-02 23:19 JS, revision 63357

Fixes for incorrect selection, extra newline insertion when undoing deletion of selection, incorrect SetScrollbar optimization, insufficient refresh for operations on last line, HasCharacter/ParagraphAttributes bug.

2010-02-02 16:19 JMS, revision 63356

Do not clear property selection when adding new properties, but instead correct positions of any open editor controls.

2010-02-02 12:23 JS, revision 63355

Don't crash if there's no top window.

2010-02-01 13:07 JS, revision 63345

Simplify SetSelectionRange and make consistent with SetSelection. Fix a bug that returns true for character and paragraph style tests if no characters or paragraphs were found. Fix SetSelection to position caret at end.

2010-02-01 11:45 JS, revision 63344

Simplify SetSelectionRange and make consistent with SetSelection. Fix a bug that returns true for character and paragraph style tests if no characters or paragraphs were found. Fix SetSelection to position caret at end.

2010-02-01 09:23 SC, revision 63343

adapting to new API variant

2010-02-01 02:20 KO, revision 63340

nschars is never used for the wxEVT_CHAR case, so don't assign it a different value for this case.

2010-02-01 01:48 KO, revision 63339

Use the correct type to fix Tiger compilation.

2010-01-31 19:31 VZ, revision 63338

Update bakefile.m4 to bakefile 0.2.8 which was used for makefiles. When a new bakefile version is used, build/aclocal/bakefile.m4 must be updated and configure must be regenerated to take into account the changes in autoconf_inc.m4, otherwise incorrect makefiles will be produced (for example, symbolic links for shared libraries were not created in Unix build this time).

2010-01-31 19:15 JMS, revision 63337

Added nominal wxPG_PROP_READONLY support for editor controls other than wxTextCtrl-based ones

2010-01-31 19:14 JMS, revision 63336

Added command to set wxPG_PROP_READONLY in the propgrid sample

2010-01-31 19:13 JMS, revision 63335

Fixed value column rendering for properties which do not create editor control when selected

2010-01-31 16:19 SC, revision 63334

fix for sleep mode on displays, fixes #11557

2010-01-31 15:42 SC, revision 63333

avoiding catching incorrect shortcuts, see #11676

2010-01-31 12:01 SC, revision 63332

supporting clipboard command shortcuts on osx_cocoa as well, simplifying code

2010-01-29 14:07 VZ, revision 63306

Disable wxUSE_FSWATCHER under Unix if neither inotify nor kqueue is available. Don't define wxUSE_FSWATCHER as 1 in configure if we can't implement it. Also add a check to wx/unix/chkconf.h to verify that we didn't end up with an inconsistent configuration somehow. Closes #11670.

2010-01-28 22:46 MW, revision 63303

Fix for file length fixup.

2010-01-28 22:46 MW, revision 63302

Fix for file length fixup.

2010-01-28 22:38 MW, revision 63301

Allow large file tests to run by default on more platforms.

2010-01-28 22:36 MW, revision 63300

Backport stdio large file support for VC++ and mingw.

2010-01-28 14:49 SC, revision 63299

storing modal returncode correctly for carbon

2010-01-28 14:48 SC, revision 63298

make sure modality is reflected correctly when rerouted from window-modal to app-modal

2010-01-28 13:30 CE, revision 63297

fix version as per email

2010-01-28 13:07 VZ, revision 63296

Disable wxUSE_OWNER_DRAWN for wxUniv to fix the build. wxMenuItem in wxUniv doesn't even use wxOwnerDrawn but linking in ownerdrwcmn.cpp is enough to break the DLL build of wxUniv at least under MSW as it references symbols normally defined in msw/ownerdrw.cpp which is not part of wxUniv. Fix this by simply disabling wxUSE_OWNER_DRAWN under wxUniv for now as it's unused anyhow.

2010-01-28 11:14 CE, revision 63295

bakefile 0.2.8 and wxw2.8.11

2010-01-28 10:54 SC, revision 63294

adding window-modal message box sample

2010-01-28 10:27 CE, revision 63293

version to 2.8.11

2010-01-28 09:28 SC, revision 63292

setting correct alertType

2010-01-28 05:06 KO, revision 63291

Get ShowWindowModal behavior working under OS X Cocoa for file, dir and message dialogs.

2010-01-27 00:04 VZ, revision 63282

Never block in wxSocket::Peek(). Peek() is not expected to block so ensure that it doesn't, independently of the currently used socket flags, by using wxSOCKET_NOWAIT. See #11528.

2010-01-26 22:09 JMS, revision 63281

wxPGProperty::GetHintText() function body was missing 'inline' keyword

2010-01-26 18:44 JMS, revision 63280

Fixed wxPGGlobalVars export declaration

2010-01-26 15:36 SC, revision 63279

optimizing creation of glcontexts, less flicker

2010-01-26 15:24 JJ, revision 63278

Fixes for compilation on OpenVMS platforms

2010-01-26 13:43 VZ, revision 63277

Add wxTreeCtrl::SelectChildren() method. Add MSW and generic implementation, documentation and change to the sample showing it. Closes #11620.

2010-01-26 13:39 VZ, revision 63276

Try to prevent users from forgetting to include wx.rc from their resources. Document that some of the standard cursors are defined in this file. Also add a (hopefully) helpful assert if loading one of such cursors failed. Closes #11424.

2010-01-26 13:33 VZ, revision 63275

Don't pass logs at unknown levels to wxLog::DoLogRecord() from wxLogGui. This results in an assert in DoLogText() which is not implemented in the base class but ends up being called as DoLogTextAtLevel() doesn't know how to handle non-standard log levels otherwise. This assert happened if you simply called wxLogMessage(wxLOG_User, ...) in the program. Just ignore messages at unknown log levels instead in wxLogGui, by definition it can't handle them anyhow. See also r63167.

2010-01-26 13:33 VZ, revision 63274

Another compilation fix for wxMSW without PCH. Need to include <commctrl.h> as we use HIMAGELIST and related functions now. See #11595.

2010-01-26 13:16 VZ, revision 63273

Implement RequestUserAttention() for wxOSX/Cocoa. Simply use NSApplication:requestUserAttention to do it.

2010-01-26 10:01 VZ, revision 63272

Compilation fixes for PCH-less build after ownerdraw-refactor branch merge. Forward declare more classes, in particular use tagRECT which can be forward declared, instead of RECT typedef in public headers. Also include more header in #ifndef WX_PRECOMP case. See #11595.

2010-01-26 10:01 VZ, revision 63271

Avoid g++ warning about unhandled wxFONTFAMILY_XXX value in a switch. Add wxFONTFAMILY_UNKNOWN case to the switch as it will allow us to be warned if we add a new family in the future and forget to update this code to take it into account.

2010-01-26 10:01 VZ, revision 63270

No real changes, just don't initialize extern variable to avoid g++ warning. g++ warns about initialized extern variables so separate the declaration from the initialization to avoid this warning.

2010-01-26 10:00 VZ, revision 63269

Make wxWindow::MSWGetThemeColour() const. There doesn't seem to be any reason for this method to not be const.

2010-01-26 10:00 VZ, revision 63268

Compilation fix for wxUniv. We need explicit casts to wxWindow in wxWindowMSW code.

2010-01-25 23:27 SC, revision 63266

simplifying code, removing outdated API

2010-01-25 23:24 SC, revision 63265

adding note for correct wheel params

2010-01-25 20:19 JS, revision 63264

Added symbol for wxEVT_WIZARD_PAGE_SHOWN

2010-01-25 19:48 JS, revision 63263

Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps a chance to initiate processing after a page is presented.

2010-01-25 19:47 JS, revision 63262

Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps a chance to initiate processing after a page is presented.

2010-01-25 18:12 SC, revision 63261

better wheel support

2010-01-25 18:12 SC, revision 63260

make sure we can override GetModality

2010-01-25 14:27 SC, revision 63259

adding wxWindow::Show in order to make the sheet showing its children as well

2010-01-25 14:26 SC, revision 63258

fixing building on iphone

2010-01-25 12:32 JJ, revision 63257

Update compile support for OpenVMS

2010-01-25 00:28 KO, revision 63254

Fix mistake, though this assert is unfortunate since now FindString("whatever") will always assert under OS X Cocoa, even when it would find and return the position correctly.

2010-01-24 20:09 SC, revision 63253

supporting auto-rotate for translucent statusbar

2010-01-24 15:15 VZ, revision 63252

Compilation fix after ownerdraw-refactor branch merge. Don't use HDC in public headers, it may not be declared there. Use WXHDC instead even if this means having ugly casts. This fixed mingw32 compilation (see #11595).

2010-01-24 12:51 VS, revision 63251

Fixed dialog units <-> pixels conversion. The computation is now identical to Windows native one. To achieve this, MSDN-recommended GetTextExtent() call is used instead of GetCharWidth(). wxMulDivInt32() is used instead of integer arithmetics to achieve correct rounding. Use toplevel parent's font instead of window's own. This makes more sense, as dialog units are defined for TLWs, not individual subcontrols. Also fixed wxMSW's wxButton::GetDefaultSize() to compute dialog units correctly.

2010-01-24 12:51 VS, revision 63250

Determine wxButton size correctly in wxMSW. Instead of using default size for default GUI font, use the default font for this dialog's current font.

2010-01-24 12:33 VZ, revision 63249

Fix bug in wxStringOutputStream unit test. We wrote an extra NUL byte to the stream and, unsurprisingly, contents of its buffer didn't match the original string resulting in the test failure. Also get rid of a #if wxUSE_UNICODE.

2010-01-24 12:33 VZ, revision 63248

Override IsSeekable() in wxString{Input,Output}Stream to return true. These streams are seekable but somehow IsSeekable() was never overridden for them resulting in test failures in Input_SeekI().

2010-01-24 12:33 VZ, revision 63247

Document that wxComboBox::Dismiss() and Popup() generate events. Currently these functions generate events in both of the existing implementations (GTK and MSW) so it is simpler to let them to continue to do it but this must at least be documented as this is probably unexpected by users.

2010-01-24 11:13 VZ, revision 63246

Correct UTF-32BE BOM detection in wxConvAuto. On the fly detection of the BOM was wrongly implemented for UTF-32BE in r63064 and returned BOM_None for it if we tried to read exactly 2 bytes. Fix this by returning BOM_Unknown if the first 2 bytes are NUL.

2010-01-24 11:13 VZ, revision 63245

Correct bug with returning 0 for non-empty input from wxConvAuto::ToWChar(). Since the changes of r63064 we could return 0 when asked to convert a non-empty buffer containing only a BOM. This confused the logic in wxTextInputStream::NextChar() and was generally unexpected so now return wxCONV_FAILED in this case.

2010-01-24 11:13 VZ, revision 63244

Check the result of ToWChar() call in wxTextInputStream::NextChar() better. The logic in this function depends on ToWChar() working correctly so check that it doesn't return obviously wrong results, e.g. 0 output length for non-empty input. This was mostly done to detect the problem in wxConvAuto currently but it could also be useful with user-defined conversions and shouldn't have a big performance effect on wxTextInputStream so leave these checks in to facilitate debugging in the future.

2010-01-24 10:13 VZ, revision 63243

Replace wxLogWarning()s in wxOSX wxComboBox code with asserts. This incidentally fixes compilation when not using PCH as wx/log.h was not included but is also more correct as the messages meant for the programmer, and not the user, should be given using asserts and not wxLog. Also correct some asserts messages. In particular, don't mention the function name in the message itself as it's already shown by the assert and using it in the string itself isn't useful and simply introduces the risk of forgetting to update it after refactoring, as happened here in r63105.

2010-01-24 02:00 VZ, revision 63242

Add wxComboBox::Popup() and Dismiss() to manually show or hide its popup. Add implementations for wxMSW and wxGTK. Closes #11506.

2010-01-24 02:00 VZ, revision 63241

No changes, just remove the strange "#if 1". This was apparently unintentionally added in r15050 to all files of the widgets sample and somehow survived in this one only until now.

2010-01-24 02:00 VZ, revision 63240

Fix sending of wxEVT_COMMAND_LIST_COL_DRAGGING events in wxMSW wxListCtrl. We were not getting HDN_TRACK from the system because apparently it is not sent for header controls with HDS_FULLDRAG style which is used by default by the native list control. A possible solution would be to forcefully unset this style but this would make the UI look old fashioned and less intuitive so instead send these DRAGGING events from HDN_ITEMCHANGING. Closes #9471,

2010-01-24 02:00 VZ, revision 63239

Move wx/evtloop.h from GUI_CMN_HDR to BASE_CMN_HDR in files.bkl. And rebake. Now that wxEventLoop can be used in wxBase as well, we need this file to be installed as part of wxBase too. Closes #11617.

2010-01-24 02:00 VZ, revision 63238

Fix wxHTTPStream::Eof() to return true for empty HTTP resources. Eof() never returned true when attempting to read an empty resource before. Closes #11596.

2010-01-24 01:59 VZ, revision 63237

Use a helper wxNEEDS_DECL_BEFORE_TEMPLATE symbol in wxStrcoll() workaround. The condition for which this workaround is needed has already changed once (see #11605) and may change again in the future as we test with more compilers so use a symbolic name for it. No real changes otherwise.

2010-01-24 01:59 VZ, revision 63236

Apply workaround for wxStrcoll() template for g++ to 3.4 too. At least mingw32 version of g++ 3.4.5 needs the same workaround to be able to compile wx. Closes #11605.

2010-01-23 23:45 KO, revision 63235

Fix for generic implementation.

2010-01-23 22:17 KO, revision 63234

Fix for non-Mac builds.

2010-01-23 21:10 KO, revision 63233

Remove assert that was used during testing while changing style flags.

2010-01-23 21:06 KO, revision 63232

Start on ShowWindowModal for OS X Cocoa. Not working properly as children do not display.

2010-01-23 16:25 VZ, revision 63231

Output wxT() and not _T() in code generated by wxrc. Also use wxT() in wxrc.cpp itself, just to be sure that there are no other occurrences of _T() left. Closes #11649.

2010-01-23 14:44 VZ, revision 63230

Add virtual wxSizer::DoInsert() to replace Insert(). This allows to avoid problems with hiding all but the overridden overloads of Insert() in wxSizer-derived classes, see #11616, without having to explicitly write any using statements. Keep Insert(size_t, wxSizerItem) virtual to allow the existing code overriding it to keep working.

2010-01-23 14:22 VZ, revision 63229

Allow to not create wxPaintDC in EVT_PAINT handler in wxMSW. Failure to create a wxPaintDC in EVT_PAINT handler resulted in many serious and difficult to debug problems under wxMSW. We used to document that the user shouldn't do it but this wasn't enough (see #11648). We could also assert if we detected that a handler didn't create a wxPaintDC but it seems better to just handle this case gracefully for consistency with the other platforms. Add wxDidCreatePaintDC global variable which is reset before generating wxPaintEvent and set to true when ::BeginPaint() is called from wxPaintDC ctor and validate the update region of the window ourselves if it wasn't set (meaning that wxPaintDC wasn't created). Update the documentation to emphasize the link between EVT_PAINT handlers and wxPaintDC but without saying that wxPaintDC object must always be created in the handler as this is not true any more.

2010-01-23 14:22 VZ, revision 63228

Don't crash when input is empty in wxFileConfig(wxInputStream) ctor. Fix crash due to dereferencing a NULL pointer when the input buffer in wxFileConfig ctor is empty. Closes #11636.

2010-01-23 14:22 VZ, revision 63227

Fix off by 1 errors in owner-drawn menu drawing code in wxMSW. The label was offset by 1 pixel vertically and the check marks were 1 pixel too wide compared to the native ones under XP, correct this. Closes #11420 (again).

2010-01-23 14:22 VZ, revision 63226

Improve wxCheckListBox appearance under Vista/Win7. Fix the items alignment and also code cleanup: fix indentation, remove magic numbers &c. Closes #10286.

2010-01-23 14:21 VZ, revision 63225

Correct drawing of check marks for owner-drawn items without bitmaps. Standard check mark was not drawn correctly for check/radio items without bitmaps. Closes #11480.

2010-01-23 14:21 VZ, revision 63224

Correct alignment of menu accelerator strings in owner-drawn menus. Draw them right-aligned as the native menus do. Closes #11479.

2010-01-23 14:21 VZ, revision 63223

Use theme functions for drawing owner-drawn menus. This makes the menu items with custom attributes or bitmaps look more native, especially on post-XP systems. Closes #11420.

2010-01-23 14:21 VZ, revision 63222

Fix calculation of the margins for owner-drawn menu items. Take into account the widths of the bitmaps properly. Closes #11268.

2010-01-23 14:21 VZ, revision 63221

Set up menu bitmaps correctly for checkable items. We must not set MENUITEMINFO::hbmpItem for the checkable items as it would then be used for both checked and unchecked state. Closes #11244.

2010-01-23 14:21 VZ, revision 63220

Refactor owner-drawing code. Only keep common code in the base class and extract all menu/listbox-specific stuff into derived classes. This makes the code cleaner and more maintainable but introduces some problems in wxCheckListBox appearance which will be fixed by the next patch. Closes #10635.

2010-01-23 14:20 VZ, revision 63219

Return old, not new, selection from wxMSW wxNotebook::ChangeSelection(). The function is documented to return the old selection and not the new one, so correct it to behave as expected. Closes #11646.

2010-01-22 23:01 VZ, revision 63218

Fix harmless g++ 4.3 warning about "suggested braces".

2010-01-22 23:01 VZ, revision 63217

Don't place NULL pointers in the GDK window array in GTKGetWindow(). This avoids an assert in GTKUpdateCursor() later on. Backport of r60458 from trunk.

2010-01-22 22:24 RD, revision 63213

Print the configure command

2010-01-22 22:24 RD, revision 63212

Use DESTDIR for installing to a location other than the prefix. Fixup install_name_tool usage.

2010-01-22 16:52 JJ, revision 63204

Correction on previous commit: statement order corrected

2010-01-22 08:55 JJ, revision 63203

Get wxDC defined when nescessary

2010-01-20 03:07 KO, revision 63197

Handle the case of NSNotFound result properly.

2010-01-20 01:17 VZ, revision 63195

Disable size grip for TLW status bar if TLW is not resizeable. wxSTB_SIZEGRIP is part of default status bar style but it doesn't make sense for non-resizeable TLWs, so turn it off in this case.

2010-01-19 23:02 VS, revision 63194

Fix wxMulDivInt32() to round the result like win32 MulDiv() does.

2010-01-19 18:53 VS, revision 63193

Make ConvertPixelsToDialog() and ConvertDialogToPixels() const.

2010-01-19 17:32 VS, revision 63192

Don't query metrics that won't be used. If ConvertPixelsToDialog() or ConvertDialogToPixels() was called with one of the two input values set to -1, the respective font metric was queried needlessly.

2010-01-19 15:47 VS, revision 63191

Support XHTML &apos; entity.

2010-01-19 14:49 VZ, revision 63190

Further enhancement to the samples overview page. Add links to samples sources in svn to all the individual samples and be even more explicit about their location on the local disk. Move the paragraph explaining the samples location further below -- but <hr> still doesn't work somehow.

2010-01-19 14:02 VZ, revision 63189

Explain the location of samples better in the samples overview page. Don't mention controls sample, just the widgets one, as the latter is much richer and easier to understand.

2010-01-19 14:02 VZ, revision 63188

Don't set initial size as min size for top level windows in wxMSW. This was accidentally done because wxWindowBase::CreateBase() didn't recognize the window as being top level as it was called before the window was appended to wxTopLevelWindows list. Fix this by doing the same thing wxGTK already did: just call wxTopLevelWindows.Append() before CreateBase().

2010-01-19 14:01 VS, revision 63187

Add wxThreadEvent::SetPayload<T>(). This makes it possible to easily pass custom data between threads, in type-safe way (thanks to internal use of wxAny). This adds sizeof(wxAny)==16+sizeof(void*) overhead to wxThreadEvent, but I think it's cheaper than doing malloc/free on copying.

2010-01-19 14:01 VS, revision 63186

Don't make full copy of string in wxThreadEvent::Clone(). It's enough to do it once to ensure thread-safety. Doing it twice (once in copy ctor called by Clone(), once in Clone() itself) only wastes time.

2010-01-18 12:05 SC, revision 63182

moving GetPageInfo to later stage, closes #11494

2010-01-18 11:56 SC, revision 63181

switching to LaunchServices implementation, fixes #11508

2010-01-18 11:09 SC, revision 63180

fixing type for 64 bit, closes #11550

2010-01-18 10:45 SC, revision 63179

avoiding Insert shadowing superclass methods, closes #11616

2010-01-18 10:12 SC, revision 63178

setting correct 'default' for m_filterIndex, closes #11541

2010-01-18 10:03 SC, revision 63177

applying patch, closes #11309

2010-01-18 09:56 SC, revision 63176

setting correct refcon in menus (was incorrectly changed to menuimpl), fixes #11611

2010-01-18 09:52 SC, revision 63175

avoiding double define warning

2010-01-18 01:29 VZ, revision 63174

Document wxCENTRE style for wxMessageDialog. This is currently only implemented for MSW but we could implement it for the other ports in the future.

2010-01-18 01:29 VZ, revision 63173

Don't set stretchable spacers size to 0, this doesn't work so use 1 instead. If the toolbar is not big enough for its fixed-size contents, we set the size of the tools corresponding to stretchable spacers to 0 but this didn't really work and resulted in bad toolbar appearance even after resizing it to be big enough (as could be seen in samples/xrc). So set the spacers size to at least 1 to ensure that we do resize them correctly.

2010-01-18 01:29 VZ, revision 63172

Add support for stretchable spacers to XRC wxToolBar handler. Notice that currently only stretchable spacers are supported via separator-like "space" XRC element. If we ever add support for fixed spacers in the toolbar we should do it via its fixed sub-element, e.g. they would be specified with <fixed>1</fixed> in XRC file. Also use spacers instead of separator in the XRC sample and ensure that the toolbars in it are resized.

2010-01-18 01:28 VZ, revision 63171

Correct test for parent being on screen in wxTLW::DoCentre(). The old test was needlessly complicated, didn't take all cases into account and had a typo in it which prevented it from working in half of the cases which it did [try to] take into account. Correct this by simply checking if the parent rectangle intersects the visible display area at all. Also simplify the code a little by checking for the window being maximized from the beginning as centering a maximized window on either screen or parent is a no-op.

2010-01-18 01:28 VZ, revision 63170

Invalidate stored wxTreeItemIds when the corresponding item is deleted in wxMSW. m_htSelStart and m_htClickedItem stored in wxTreeCtrl must be invalidated when the item they point to is deleted (which also happens when all the items are deleted), otherwise the selection doesn't behave correctly after doing it. Closes #11619.

2010-01-18 01:28 VZ, revision 63169

Generate wxEVT_KEY_DOWN events for navigation keys in wxMSW wxTreeCtrl. We only generated wxEVT_COMMAND_TREE_KEY_DOWN events for the keys which can be used for tree control navigation and which are handled specially in the code but not the wxEVT_KEY_DOWN ones. This was inconsistent with the other keys and incompatible with wx 2.8 and other ports, so generate both events unless the wxEVT_KEY_DOWN one was handled by the user code. Closes #11621.

2010-01-18 01:28 VZ, revision 63168

Show the more metrics for the selected font in the sample. Show the result of wxDC::GetChar{Width,Height}() and the font size in pixels in addition to the font size in points.

2010-01-18 01:28 VZ, revision 63167

Don't call base class version unnecessarily in wxLogWindow::DoLogTextAtLevel(). This is unnecessary as the log message is already passed to the previous logger by the base class wxLogChain::DoLogRecord() implementation. Worse, it's actively harmful as it resulted in asserts in wxLog::DoLogText() when built with WXWIN_COMPATIBILITY_2_8==0. Closes #11526.

2010-01-18 01:28 VZ, revision 63166

No changes, just fix an unused parameter warning. Fix warning in mingw32 wxMSW build.

2010-01-18 01:28 VZ, revision 63165

Add wxIsascii() function and use it instead of isascii() in our code. isascii() is non-ANSI and is not available under all platforms. While we currently define it ourselves in wx/wxcrtbase.h in this case, it's not a good idea as this can't be easily done correctly for all platforms so start transitioning away from using isascii() by adding wxIsascii() and using it in our own code. The only remaining occurrences of isascii() are in Scintilla code which we probably don't want to modify.

2010-01-18 01:27 VZ, revision 63164

Only disable use of non-ANSI functions in strict ANSI mode under Windows. The changes of r62518 fixed compilation of wx headers in g++ strict ANSI mode (enabled by th use of -ansi or -std=c++{98,0x} options) with mingw32 but broke it when using g++ in ANSI mode under Unix. The problems arose at least due to redeclaration of isascii() with different exception specifier and due to the lack of wxCRT_StrdupA() definition in the library. Fix this by simply not disabling the use of non-ANSI functions such as isascii() and strdup() under Unix as they are still available in the headers by default because of _GNU_SOURCE predefined by g++. Notice that if _GNU_SOURCE is explicitly undefined, compilation would probably still be broken. To fix this we might check whether __USE_SVID is defined under Linux. Unfortunately doing tests in configure is not an answer as wxWidgets might not be compiled with the same -std option as the programs using it, so there is no obviously correct way to fix this. See #11374.

2010-01-17 13:10 JMS, revision 63163

Added entry on generic wxDatePickerCtrl keyboard navigation fix

2010-01-16 05:14 PC, revision 63162

update docs for wxMAXIMIZE on GTK

2010-01-15 18:19 JMS, revision 63161

When checking whether the parent has wxTAB_TRAVERSAL style, take into account that the wxComboCtrl can be part of a composite control

2010-01-15 18:09 PC, revision 63160

honor wxMAXIMIZE frame style, fixes #11631

2010-01-15 17:06 JMS, revision 63158

When checking whether the parent control has wxTAB_TRAVERSAL, take into account that the wxComboCtrl can be part of a composite control, such as generic wxDatePickerCtrl (fixes #11630).

2010-01-14 23:51 VZ, revision 63157

More wx(Flex)GridSizer constructors documentation improvements. Mention that the number of columns may also be automatically deduced. Don't duplicate the same documentation in wxGridSizer and wxFlexGridSizer as this inevitably results in forgetting to update one of the versions (as in the previous commit). Instead, just link to wxGridSizer from wxFlexGridSizer.

2010-01-14 23:43 VZ, revision 63156

Minor corrections to wxFlexGridSizer ctor documentation. Be more clear about what does it mean to specify the number of rows. Don't use @code for inline expressions. Remove an extraneous "it".

2010-01-14 20:04 SC, revision 63155

fixing comments, making sure sound always gets the completion call in the same thread as it was created, otherwise iphone sometimes crashes

2010-01-14 19:02 VZ, revision 63154

No real changes, just fix a typo in comments and documentation. Use "surprising" instead of (common) "surprizing" misspelling. Closes #11627.

2010-01-13 19:29 JMS, revision 63139

Fixed bug: wxPGEditor::SetControlAppearance() was calling SetValueToUnspecified() unconditionally, disregarding value of 'unspecified' argument.

2010-01-12 16:51 VZ, revision 63138

Add wx/osx/textentry.h to the list of OS X headers. Fix problem with "make install" which didn't install this header. Backport of r63137 from HEAD. Closes #11624.

2010-01-12 16:47 VZ, revision 63137

Check for a function existing in all libpng releases in configure. We tested for png_check_sig() which was deprecated and is not available in the latest libpng 1.4 any more. Just use another, not deprecated and not new, function for the test. See #11625.

2010-01-12 16:47 VZ, revision 63136

Add wx/osx/textentry.h to the list of OS X headers. Fix problem with "make install" which didn't install this header. Closes #11624.

2010-01-11 15:19 SC, revision 63135

adding protocol support for 10.6

2010-01-10 02:52 KO, revision 63129

Remove duplicate fields in wxTextCtrl / wxTextEntry. Fixes #11618.

2010-01-10 01:57 RD, revision 63116

Lots of build tweaks needed for building wxPython releases. Allow prefix and installdir to be different, update the install_name before lipo on the Mac, etc.

2010-01-10 01:48 RD, revision 63115

Use GraphicsContext (if available) for drawing in SurfaceImpl::AlphaRectangle. Fixes #10542.

2010-01-10 01:40 RD, revision 63114

Use GraphicsContext (if available) for drawing in SurfaceImpl::AlphaRectangle. Fixes #10542.

2010-01-09 20:56 KO, revision 63106

Rebake.

2010-01-09 20:50 KO, revision 63105

Implement native OS X ComboBox for OS X Cocoa, and implement wxTextEntry methods to share code between wxComboBox and wxTextCtrl.

2010-01-09 18:57 VZ, revision 63104

Restore default WM_ERASEBKGND handling for wxMDIParentFrame. We pretended that we erased the background ourselves but actually we did not. Just let DefWindowProc() do whatever it does by default to fix the problem with wrong toolbar background colour since r62971. Also removed the unused and unneeded WM_SIZE handler as well. Closes #11607.

2010-01-09 18:39 VZ, revision 63103

Minor fixes and enhancements to wxWindowID documentation. Document NewControlId() more precisely. Fix various spelling and grammar problems. Closes #11613.

2010-01-08 19:20 KO, revision 63100

Rebake.

2010-01-08 19:19 PC, revision 63099

for file load/save, always try wxImage first, fallback to pixbuf

2010-01-08 05:33 PC, revision 63098

fix broken #elif

2010-01-08 05:05 PC, revision 63097

fix broken #elif

2010-01-08 02:29 KO, revision 63096

Support mouse click through as otherwise clicking inside an inactive window causes us to lose the first mouse down, unlike with MSW.

2010-01-07 20:43 JMS, revision 63095

Improved documentation for wxPGProperty::DoSetAttribute()

2010-01-07 20:37 JMS, revision 63094

Fixed deprecation message (brings include file in line with the the interface)

2010-01-07 20:35 JMS, revision 63093

Do not use deprecated property attribute wxPG_ATTR_INLINE_HELP (fixes #11605)

2010-01-07 20:31 JMS, revision 63092

Fixed a deprecation message

2010-01-07 19:30 PC, revision 63091

remove unused function GetGdkVisual()

2010-01-07 19:16 PC, revision 63090

defer creating bitmap representation until it is needed

2010-01-07 14:16 VZ, revision 63089

Improve hit detection in wxMSW wxTreeCtrl with wxTR_FULL_ROW_HIGHLIGHT style. When wxTR_FULL_ROW_HIGHLIGHT is used, the item visually takes up the entire breadth of the window so clicking both to the left or to the right of the item should have the same effect as clicking on it. So add a MSWIsOnItem() helper which tests for whether a point is above the item correctly and use it in order to: 1. In multi selection mode, allow clicking anywhere to select the item(s) when Ctrl or Shift is pressed (Closes #11598). 2. Generate activation event when clicking to the right of the item too (Closes #11602). 3. Detect item bounds correctly in WM_LBUTTONUP handler (although it's not really clear what does this code do and hence what problem does this fix...).

2010-01-07 14:15 VZ, revision 63088

German translations update from Thomas Krebs. Closes #11562.

2010-01-07 14:15 VZ, revision 63087

Fix typos in IMediaPlayer2 and INSPlay interfaces declarations. Fix missing/extraneous parentheses. Closes #11600.

2010-01-06 23:02 KO, revision 63085

Forward port 2.8 fix.

2010-01-06 03:22 KO, revision 63083

Fix another line somehow missing from the wxGraphicsBitmap forward port.

2010-01-05 19:27 SC, revision 63079

added zlib directly to dynamic targets

2010-01-05 18:53 PC, revision 63078

remove never-implemented palette support

2010-01-05 17:42 JMS, revision 63077

Call virtual ctrl->GetDefaultAttributes() instead of static GetClassDefaultAttributes()

2010-01-05 14:55 SC, revision 63075

added zlib directly to dynamic targets

2010-01-05 14:54 SC, revision 63074

add zlib only in dynamic build targets

2010-01-05 13:56 VZ, revision 63072

Brazilian Portuguese translations updae from Allann Jones. Closes #11597.

2010-01-04 17:07 JMS, revision 63066

Allow wxPropertyGridInterface::EnableProperty() to work even if property->GetGrid() returns NULL.

2010-01-04 13:51 VZ, revision 63065

Add assert checking that window has no event handlers when destroyed. Forgetting to pop custom event handlers pushed onto the window before it is destroyed will result in a crash later on, so try to detect this immediately with an assert. We might want to forcefully pop them off too, this could result in memory leaks but would be still better than crashing. Closes #11533.

2010-01-04 13:22 VZ, revision 63064

Fix wxConvAuto behaviour when it is used by wxTextInputStream. wxConvAuto implicitly supposed that the chunk of data passed to it for translation was big enough to allow it to at least detect the BOM from it. However this isn't necessarily the case and never is with wxTextInputStream which reads the bytes one by one. Fix this by waiting until we have enough data to be able to detect the BOM. This still doesn't fix the problem with streams without BOM and the corresponding unit test still fails -- it will need to be fixed at the level of wxTextInputStream itself later but handling correctly the cases when a BOM is present is already better than before. See #11570.

2010-01-04 13:22 VZ, revision 63063

Make calling wxLog::IsAllowedTraceMask() safe during static init time. Although using wxLog during statics initialization is not recommended, it may still happen, possibly indirectly so make it work correctly by using an accessor function for the array of trace masks which ensures that this array is always correctly initialized before being used. Closes #11592.

2010-01-04 13:22 VZ, revision 63062

Compilation fix for VC6 after r63061. VC6 doesn't support empty struct initializers apparently.

2010-01-04 12:05 VZ, revision 63061

Correctly parse times without seconds in wxDateTime::ParseTime(). This was always supposed to work but never did because of a typo in the "24 hour format without seconds" format specification. Fix this by removing the extra "%S" from it and add a test for this case.

2010-01-04 11:59 VZ, revision 63060

Don't dereference invalid iterator in wxDateTime::ParseDate(). If the string passed to this method contained only spaces (possibly 0 of them, i.e. was empty) we would dereference the end string iterator. Fix this by adding an explicit test for "p != pEnd".

2010-01-04 11:08 SC, revision 63059

fixing include type

2010-01-04 08:53 SC, revision 63057

adding stc support

2010-01-04 08:52 SC, revision 63056

adding kqueue define for xcode builds

2010-01-04 08:50 SC, revision 63055

fixing include types

2010-01-04 02:57 KO, revision 63053

Get the OS X Cocoa native combobox building by having the native code compile if wxOSX_USE_NATIVE_COMBOBOX is defined. It must be explicitly enabled by adding that define to the build flags as the native implementation is mostly just stubs right now.

2010-01-04 01:45 KO, revision 63052

Rebake from clean wx tree.

2010-01-04 00:59 KO, revision 63051

Don't use a destroy event handler to disconnect the native control's delegate as the destroy event propagates and can cause the TLW to remove its delegate at unexpected times, such as when a child control is destroyed but the TLW remains active. Instead, do it in response to the Destroy() call.

2010-01-03 23:52 KO, revision 63050

Create a text measuring context until a real context is assigned, this allows things like text measurement code using wxMemoryDC to work on Mac.

2010-01-03 20:58 SC, revision 63049

correcting error message

2010-01-03 19:55 SC, revision 63048

fixing name collision ocuring in a specific script runner

2010-01-03 19:29 VS, revision 63045

Removed some outdated compiler checks in OLE code. We don't support VC++ 4 for ages and any recent version of GCC has cVal, too.

2010-01-03 19:29 VS, revision 63044

Removed wxClearVariant() and wxReleaseVariant(). Replaced them with standard VariantInit() and VariantClear() functions respectively. They appear to be just reimplementations of these.

2010-01-03 19:28 VS, revision 63043

Moved wxConvertVariantToOle and wxConvertOleToVariant to oleutils.cpp. These are declared in oleutils.h, so that's where they should be. More importantly, they are used by wxActiveXContainer and so are required even if wxUSE_OLE_AUTOMATION is off. Also added "wx" prefix to (Clear|Release)Variant, because they cannot be static any longer.

2010-01-03 19:20 SC, revision 63042

building xcode projects from files.bkl

2010-01-03 18:37 VZ, revision 63041

Romanian translation update from Catalin. This is more of a replacement than an update but apparently the old translation had a lot of problems. The new translation is undoubtedly more complete (1523 translated messages against 230 for the old one).

2010-01-03 11:24 JMS, revision 63040

Added missing ResetEditorAppearance() call

2010-01-03 11:23 JMS, revision 63039

In wxPGEditor::SetControlAppearance() use GetClassDefaultAttributes() instead of GetDefaultAttributes()

2010-01-02 14:07 VS, revision 63038

Added wxAutoOleInterface<T> template. This replaces WX_DECLARE_AUTOOLE with easier-to-debug version. The macro is still preserved for backward compatibility.

2010-01-02 12:31 MBN, revision 63037

Document wxPerl interface differences for wxRichTextCtrl.

2010-01-02 12:29 MBN, revision 63036

Document wxPerl interface differences for wxRichTextCtrl.

2010-01-02 12:22 MBN, revision 63035

Build with WXINTL_NO_GETTEXT_MACRO defined.

2010-01-02 11:40 MBN, revision 63034

Fix method name in wxInfoBar interface.

2009-12-31 14:37 VZ, revision 63032

Change the year in copyright messages to 2010. Backport of r63031 from trunk. See #11584.

2009-12-31 14:36 VZ, revision 63031

Change the year in copyright messages to 2010. Happy new year to all wx-ers! Closes #11584.

2009-12-31 14:32 VZ, revision 63030

Add wxWinVersion_7 to the private wxMSW wxWinVersion enum. Also correct wxWinVersion_2003 definition, it should have the same value as wxWinVersion_XP. And add wxWinVersion_XP_SP2 == wxWinVersion_2003_SP1.

2009-12-31 09:39 SC, revision 63028

adding placeholders and work in progress files

2009-12-31 00:40 KO, revision 63027

Fix issue that was causing ShowWithoutActivating to indirectly call wxNonOwnedWindow::Show.

2009-12-30 18:44 MW, revision 63024

Add another test for sparse file support so that the large file tests can run as part of the default suite for more platforms.

2009-12-30 18:41 KO, revision 63023

To support playing async sounds on the stack on Mac, do not delete the wxSoundData when its wxSound object is destroyed if it's in the queue of sounds to be played. Instead, mark it to be deleted and delete it after it has played.

2009-12-30 18:39 MW, revision 63022

Repair the stream tests.

2009-12-30 18:38 MW, revision 63021

Support large files with stdio on mingw.

2009-12-30 18:07 JMS, revision 63020

wxOwnerDrawComboCtrl -> wxComboCtrl

2009-12-30 18:06 JMS, revision 63019

Updated entries regarding wxPropertyGridManager

2009-12-30 14:46 VZ, revision 63017

Don't create an invalid iterator in wxDateTime::ParseTime(). Creating an iterator pointing beyond the string end resulted in an assert from MSVC 9 CRT. Fix this by using wxString ctor taking length (which may be greater than the length of the string) instead of the one taking two iterators (which must both be valid).

2009-12-30 14:38 VZ, revision 63016

Explicitly mention MSVC std::fstream(wxString) incompatibility issue. The fact that std::fstream provides a non-standard constructor in MSVC CRT implementation is sufficiently confusing to merit a special mention.

2009-12-30 09:35 SC, revision 63015

fixing SetSubMenu for OSX_Cocoa, fixes #11581

2009-12-29 17:04 JMS, revision 63012

Changed wxPropertyCategory to use same cell rendering code as regular properties. This allows labels for category columns other than the first. Rendering code was heavily modified to allow 'merging' of cells when needed.

2009-12-28 21:01 VZ, revision 63008

Use memmove() instead of memcpy() in wxString::AssignCopy(). This allows the code like "s = s.c_str()" to work correctly, although it doesn't fix all self-assignment-related bugs. See #11245.

2009-12-28 17:18 VZ, revision 63007

Ensure that frame is re-laid out when its toolbar is deleted. The code in wxFrameBase::SetToolBar() didn't work correctly when toolbar was unset using SetToolBar(NULL) because the frame toolbar pointer was reset before layout was done resulting in the frame not recognizing its (still existing) toolbar child as one of its bars and so nothing was done at all when the frame had a single child, as in the toolbar sample. Correct this by carefully ensuring that the toolbar pointer is still set at the moment of the layout but hide the toolbar to ensure that no place is allocated for it. Also mention that it is not necessary to call SetToolBar(NULL) at all if the toolbar is being deleted anyhow in the sample as toolbar does this itself in its destructor.

2009-12-28 17:18 VZ, revision 63006

Correct initial value of "Toggle toolbar" check menu item in the sample. This item should initially be checked because the toolbar is initially shown.

2009-12-28 02:56 PC, revision 63003

don't use ==, fixes ##11580

2009-12-27 20:40 VZ, revision 63001

Account for cells spanning multiple grid cells better when autosizing. The total size of a multi-span cell was accounted for each row/column it covered, resulting in too much space being allocated to them. Only take into account the average size of each row/column computed by dividing the total cell size by number of rows/columns it occupies to fix this. Closes #11498.

2009-12-27 20:40 VZ, revision 63000

Return the kind of cells span from wxGrid::GetCellSize(). Behaviour of GetCellSize() may be very surprising for the unwary as it can return negative or null "size" of the cell. Add CellSpan return value to allow the caller to check what kind of cell are we dealing with easier. Also document the new return value as well as the function (and matching SetCellSize()) itself carefully as its behaviour is far from obvious.

2009-12-27 20:40 VZ, revision 62999

Don't call SetMinSize() when creating the window if no initial size was given. Calling SetMinSize() is unnecessary in this case. It also results in GTK+ errors when creating wxFileDialog as it is not created yet when this is called (but it does take care to pass wxDefaultSize to this function as its size can't be set yet). See r62814 and r62817.

2009-12-27 20:40 VZ, revision 62998

Avoid defining COMPILER_PREFIX for autoconf format. This fixes a fatal bakefile error due to undefined COMPILER variable when using wx presets with autoconf backend introduced in r62458.

2009-12-27 20:40 VZ, revision 62997

Correct wxUSE_MACOSX_VERSION_MIN setting when running under OS X 10.4. sw_vers outputs e.g. 10.4.11 under 10.4 so comparing its result with just 10.4 is wrong, match it against "10.4*" using case instead to ensure that 10.4.11 is indeed recognized as 10.4. Closes #11579.

2009-12-27 20:40 VZ, revision 62996

Document wxString::operator<<(wxUniChar). wxUniChar overload was somehow omitted from the list. Closes #11568.

2009-12-27 20:39 VZ, revision 62995

Override some methods in wxF(F)ileStream to resolve ambiguities. Override virtual methods IsSeekable(), GetLength() and OnSysSeek/Tell() to forward to wxF(F)InputStream base class as otherwise it's impossible to use them at all because of ambiguity between the versions inherited from this class and wxF(F)OutputStream (even though the two versions should do the same thing as they operate on the same file descriptor/handle). Also improve documentation of these classes: provide a brief description, correct the base classes. Closes #11577.

2009-12-26 17:36 VZ, revision 62994

Take into account the initial buttons state when creating wxGTK toolbar. With wxMSW it is possible to call e.g. wxToolBarTool::Enable(false) on a tool before calling wxToolBar::Realize() to create the tool in an initially disabled state but this wasn't done in wxGTK version. Override Realize() now under wxGTK to bring the native toolbar buttons state in sync with the internal state of the corresponding wxToolBarTools.

2009-12-26 17:36 VZ, revision 62993

Don't forward declare wxSystemColour enum. Forward declaring enums is illegal in standard C++ and while MSVC allows this as an extension, it doesn't compile with g++. Just include wx/settings.h instead.

2009-12-26 17:36 VZ, revision 62992

No changes, just fix a typo in and rephrase a comment. Comment in wxToolBarBase::Realize() was probably copied from some port-specific file but didn't make sense any more in common code.

2009-12-26 11:51 JMS, revision 62991

Reduced unnecessary wxT usage

2009-12-26 11:45 JMS, revision 62990

Replaced 'InlineHelp' property attribute with 'Hint'; Use SetHint() wxTextCtrl and wxComboCtrl member function to set it; Added a small section about help string and hint text in propgrid overview

2009-12-26 11:33 JMS, revision 62989

Added wxComboCtrl::SetHint(), GetHint()

2009-12-25 21:43 KO, revision 62988

Remove the native toolbar from the frame in Destroy() rather than the destructor, as removing it in the destructor causes resize / repaint events to fire on the native control, which then goes to wx controls being deleted.

2009-12-25 21:40 KO, revision 62987

Use NSTrackingArea when available (building for 10.5+) so that we can get mouse moved events for inactive / non-focused windows too.

2009-12-25 12:36 VZ, revision 62986

Always show hint in text entries, even when they have focus. It was impossible to show the hint for the initially focused child of a dialog before, as the hint was hidden from the very beginning. By showing it always we avoid this problem. We may want to add an option/flag for SetHint() to make this configurable later if somebody really needs to show hints only for as long as the control doesn't have focus.

2009-12-25 10:47 SC, revision 62985

removing event handlers on non-owned windows when the destroy event is sent

2009-12-25 10:18 JMS, revision 62984

Refactored a very confusing condition in wxPGComboBox item paint code

2009-12-25 10:04 JMS, revision 62983

Added wxComboCtrlBase::SetFore/BackgroundColour()

2009-12-25 09:39 SC, revision 62982

fixing parameter names

2009-12-25 09:33 JMS, revision 62981

Added documentation for wxPGEditor::SetControlAppearance()

2009-12-23 22:42 VZ, revision 62980

Erase toolbar background even if it doesn't contain any controls/spaces. Minor correction to changes in r62971: we still need to hook WM_ERASEBKGND in toolbar parent when painting the toolbar itself even when there are no dummy separators in it (and so we don't need to paint them over). Without this, the background of simple toolbars without controls was not erased correctly.

2009-12-23 14:56 VZ, revision 62977

Don't pass 0 timer ids to ::SetTimer(). Creating timers with 0 id failed because Windows SetTimer() function requires a non-zero id. Fix this by using a (impossible at wx API level) -1 id value in this case instead. Closes #11392.

2009-12-22 22:22 MW, revision 62974

Add support for large stdio files for VC 8+. What versions of the other Windows compilers?

2009-12-22 17:12 JMS, revision 62973

Added wxPropertyGrid::SetUnspecifiedValueAppearance(); Added wxPGEditor::SetControlAppearance() for applying wxPGCell attributes on a property editor.

2009-12-22 16:37 VZ, revision 62972

Remove the test of erase background events from the toolbar sample. Handling erase background events for toolbars never worked for the ports other than wxMSW and now it doesn't work for MSW neither as we need to skip erasing the background in WM_ERASEBKGND handler to avoid flicker which would result from erasing the background twice, from there and from WM_PAINT handler which must do it. So don't even try to test if it works, it's unlikely to be very useful anyhow. This reverts the change to this file in r62805.

2009-12-22 16:37 VZ, revision 62971

Finally really correct background erasing for wxMSW wxToolBar. Do use TBSTYLE_FLAT and TBSTYLE_TRANSPARENT (the former actually implies the latter) for MSW toolbar as it is the only way to avoid the flicker of toolbar buttons. These styles were disabled before because of lack of understanding about how they worked: with them, the toolbar supposes that its parent takes care of erasing its background but wx didn't do this (in fact wxFrame did accidentally erase toolbar background because of the use of Win32 client rectangle, including tool/status bars, instead of wx client rectangle, excluding them, in wxWindowMSW::DoEraseBackground(), but it didn't do it correctly). Now we allow hooking WM_ERASEBKGND events processing in a parent window by a child one and use this to handle toolbar background erasing in toolbar itself. We still prevent the native toolbar from drawing dummy separators and always erase the area occupied by them ourselves and thus avoid the flicker entirely. The only remaining flicker in the toolbar sample is that of embedded wxStaticText control. It does appear with correctly transparent background and bitmaps with alpha channel also (still) are drawn correctly in wxStaticBitmaps embedded in the toolbar. Finally, we still use solid background brush for toolbar but we can easily use a themed background if really desired, there is just a single function to change to do it (MSWGetToolbarBgBrush()).

2009-12-22 16:37 VZ, revision 62970

Fix best size computation for buttons without image and with empty label. If a button was initially created with an empty label (but without image neither), its best size was computed and cached as being null. Correct this by giving the button the default size instead, as expected.

2009-12-21 16:20 JMS, revision 62960

Added wxMSW wxChoice::GetClassDefaultAttributes(), initially used in wxComboCtrl

2009-12-21 11:04 CE, revision 62959

remove ;

2009-12-20 16:07 FM, revision 62958

fix miscellaneous Doxygen 1.6.1 warnings

2009-12-20 15:50 FM, revision 62957

fix a few doxygen warnings

2009-12-20 15:24 FM, revision 62956

add a detailed description to wxMenuItem::SetItemLabel() partially moving docs from wxMenu::Append; add usage examples; organize wxMenuItem functions in 3 sections (getters, setters, checkers) to make it easier to browse the docs; use @onlyfor tag where necessary instead of the (Windows only) text

2009-12-20 13:48 JMS, revision 62955

Added wxPropertyGrid::GetUnspecifiedValueText(). Use it instead of assuming that the unspecified value text is always an empty string.

2009-12-20 13:31 JMS, revision 62954

Added some missing SetupTextCtrlValue() calls

2009-12-19 16:07 JMS, revision 62948

Suppress 'unused argument' warnings

2009-12-19 15:47 JMS, revision 62947

Added wxWindowMSW::MSWGetThemeColour(); initially use it in wxComboCtrl::OnThemeChange()

2009-12-19 13:08 JMS, revision 62946

Properly notify active editor control when it receives the focus.

2009-12-19 13:00 VZ, revision 62945

Document wxSpinCtrlDouble in correct header file. The public header for this class is wx/spinctrl.h, but it was documented in wx/generic/spinctrg.h which didn't even correspond to an existing real header file (which is called spinctlg.h). Move the documentation to wx/spinctrl.h and remove the old file. Closes #11548.

2009-12-19 13:00 VZ, revision 62944

Document wxSizerItem::Assign{Window,Sizer,Spacer}() methods. Also explain why SetSpacer() and SetSizer() are deprecated. Closes #11555.

2009-12-19 12:59 VZ, revision 62943

Document wxDV_NO_HEADER style. Closes #11559.

2009-12-19 12:17 VZ, revision 62942

Corrections to expander position calculations and drawing in generic wxDVC. Correct the calculation of the indent for the columns following the expander and the calculation of the position of the expander itself. See #11558.

2009-12-19 12:17 VZ, revision 62941

Correct selection/drop highlight rectangles width in generic wxDataViewCtrl. The third parameter of wxRect ctor is the width, not the right edge. See #11558.

2009-12-19 12:17 VZ, revision 62940

Always draw standard-sized checkboxes in generic wxDataViewToggleRenderer. The checkbox should be always shown in its normal size, otherwise it looks strange. And this also fixes the overflow of the checkbox in the next column which happened if the size passed to Render() had negative width before. See #11558.

2009-12-19 12:17 VZ, revision 62939

Use correct width in wxDataViewCustomRendererBase::RenderText(). The text should be ellipsized to fit in the text rectangle, not the total cell one (which is larger). See #11558.

2009-12-19 12:13 JMS, revision 62938

In wxPropertyGrid::HandleCustomEditorEvent(), also filter out excess wxEVT_COMMAND_TEXT_UPDATED events that originated from wxComboCtrl-derived editors.

2009-12-18 23:31 VZ, revision 62935

Don't create labels with wxST_NO_AUTORESIZE flag with empty size by default. Since r57627 wxStaticText objects with wxST_NO_AUTORESIZE flag created with wxDefaultSize were created with zero width. This accounted for the disappearance of the labels for the toolbar controls (as could be seen in the toolbar sample where the combobox label was not shown any more). Fix this by explicitly setting the correct initial size after the correct label is set.

2009-12-18 23:31 VZ, revision 62934

Don't draw over dummy separators in MSW toolbar, just don't draw them at all. Prevent the native toolbar from drawing the separators which we use simply as placeholders by excluding them from the update region when handling WM_PAINT. This reduces flicker by not redrawing the areas occupied by these separators twice and also prevents them from ever being shown (you could see them briefly appear before being erased before). The other toolbar tools still flicker though, there doesn't seem to be any simple way to prevent the control from entirely invalidating itself whenever it is resized.

2009-12-18 21:49 VZ, revision 62933

Don't explicitly set the background colour for wxChoice. This is unnecessary and results in flicker when the control is resized because we explicitly erase its background ourselves and then it does it itself.

2009-12-18 21:49 VZ, revision 62932

No real changes, just change type of MSWGetBgBrush() argument. Pass wxWindow instead of HWND to it as in most cases we already have wxWindow for the HWND we have and calling wxFindWinFromHandle() once more is unnecessary. This also makes the code of MSWGetBgBrushForChild() slightly simpler.

2009-12-18 21:49 VZ, revision 62931

Don't force themed background for wxToolBar under MSW, just use the default. Native toolbars don't have themed background under Vista/7 and don't look good with rebar background (which is the same one as used for the menus) as toolbars don't appear on the top of the window. Erasing background ourselves also results in flicker and display problems and makes the code much more complicated. Simply don't do this to avoid all the problems.

2009-12-18 18:28 JMS, revision 62930

Have wxComboCtrl honour any custom foreground and background colour.

2009-12-18 18:03 JMS, revision 62929

In wxComboCtrl, prefer focus rectangle colours over custom ones.

2009-12-18 17:42 JMS, revision 62928

Have wxComboCtrl honour any application-specified foreground and background colour.

2009-12-18 15:47 VZ, revision 62927

Don't access the first character of a possible empty USEMAP parameter. This fixes an assert when using debug CRT in VC9.

2009-12-18 15:47 VZ, revision 62926

Only call GetTextMetrics() in wxDC::GetTextExtent() if necessary. A micro-optimization: avoid ::GetTextMetrics() call if we don't use its results (as is the case if neither descent nor external leading were requested).

2009-12-18 15:47 VZ, revision 62925

Call SymCleanup() in wxStackWalker to fix problem with next call to it. Calling SymInitialize() second and subsequent times failed (and hence so did wxStackWalker::WalkFrom() and other methods) as we didn't call SymCleanup() because of some problems with old versions of debughlp.dll. These problems don't seem to exist any more so do call SymCleanup() so that we can walk the stack more than once. Closes #11544.

2009-12-18 15:46 VZ, revision 62924

Don't use "-I @" in ctags command line as cmd.exe handles '@' specially. Just use the file path instead as '@' is used for the "response files" by cmd.exe, at least under Windows 7.

2009-12-18 15:46 VZ, revision 62923

No changes, just minor cleanup. Don't call wxWindow::PrepareDC() which doesn't do anything anyhow. Use wxBitmap::IsOk() instead of Ok().

2009-12-18 15:46 VZ, revision 62922

Restore the use of the correct brush for toolbar background erasing. The call to SetBrush() was mistakenly removed in r62850 but it is needed because wxClientDC only inherits background colour but not the brush used by DrawRectangle() call in wxToolBar::MSWEraseRect(), so the wrong colour was used under systems < Vista. Restore this call now.

2009-12-17 22:52 VZ, revision 62919

Compilation fixes and cleanup for wxSymbian. Avoid duplicating Unix files, reuse the existing ones instead. Remove unnecessary gcc pragmas. Add Symbian-specific chkconf.h. Closes #11551.

2009-12-17 18:51 VZ, revision 62916

Correct wxDateTime::GetWeekOfMonth() for days in the beginning of January. This function was implemented in terms of GetWeekOfYear() which made it tricky to get it right as GetWeekOfYear() can, correctly, return week number for the previous year for the first days of January (and also from the next one for the last days of December). Replace this implementation with a simple one directly counting the number of weeks since the first of the month, this seems to be much simpler and does pass the new unit test case which the old version failed. Also make the unit test failures more informative by using WX_ASSERT_EQUAL_MESSAGE() instead of CPPUNIT_ASSERT_EQUAL(). See #11561.

2009-12-17 17:44 VZ, revision 62914

Add test of accelerators using both ASCII and non-ASCII keys to the sample. Test using 'Ctrl-A', just 'A' and 'Esc' as accelerators as all of them except the first one were reported not to work in some cases.

2009-12-17 17:44 VZ, revision 62913

Always use FVIRTKEY for the accelerators under MSW. Not using FVIRTKEY results in problems in non-US keyboard layouts and, in fact, we were already always using it because wxCharCodeWXToMSW() returned true in its output IsVirtual argument most of the time. Just do it always now and also remove IsVirtual parameter with badly (if at all...) defined meaning from wxCharCodeWXToMSW() as it's not used anywhere any longer.

2009-12-17 15:41 JMS, revision 62912

Allow wxPropertyGrid::RecalculateVirtualSize() execute even if pg is not completely initialized (otherwise virtual size calculations may go wrong)

2009-12-17 14:39 SC, revision 62911

fix for sleep mode on displays, fixes #11557

2009-12-17 13:15 SC, revision 62909

supporting sleep mode properly, see #11557

2009-12-17 11:52 VZ, revision 62908

Initialize all fields of EXCEPINFO object to avoid crashes later. We could call SysFreeString() on uninitialized pointers if IDispatch::Invoke() failed.

2009-12-16 20:27 VZ, revision 62903

Correct typo in wxEVT_COMMAND_LISTBOX_DOUBLECLICKED. An underscore was omitted between LISTBOX and DOUBLECLICKED.

2009-12-16 19:59 JMS, revision 62902

Fixed display of 'InlineHelp' attribute

2009-12-16 19:48 JMS, revision 62901

Slightly improved check whether or not to execute wxPropertyGrid::RecalculateVirtualSize()

2009-12-16 18:10 PC, revision 62900

preserve type when loaded image is rescaled, #11543

2009-12-16 09:30 CE, revision 62899

force rebuild of all docs

2009-12-16 07:32 PC, revision 62898

allow setting client size to work properly before window is shown

2009-12-15 23:44 VZ, revision 62896

Avoid GTK+ errors when using AUI wxPseudoTransparentFrame hack. wxPseudoTransparentFrame is not a top level window at all and the code in wxGTK wxTopLevelWindow::DoSetSizeHints() fails for it when it is called from wxWindowBase::CreateBase() because of it and spits GTK+ errors as it calls gtk_window_set_geometry_hints() with NULL widget. Fix this by simply skipping wxTopLevelWindow implementation of this method in wxPseudoTransparentFrame. A better fix would be to get rid of this hack completely, of course.

2009-12-15 22:12 VZ, revision 62895

Remove asserts in wxChoicebook::Get/SetPageImage(). It's better to silently return an error code than assert when these methods are called as their failure is relatively harmless and the user code may call them via base class pointer without caring if it works with a control which supports images or not.

2009-12-15 16:38 VS, revision 62894

define NDEBUG if not using debug CRT

2009-12-15 16:38 VS, revision 62893

define NDEBUG if not using debug CRT

2009-12-15 12:25 VS, revision 62891

compilation fix for wxUSE_IMAGE=0 case

2009-12-15 12:24 VS, revision 62890

compilation fix for wxUSE_IMAGE=0 caseinclude/wx/iconbndl.h

2009-12-15 12:24 VS, revision 62889

PCH compilation fix

2009-12-14 20:17 VZ, revision 62886

Avoid painting generic wxDataViewCtrl if it has no columns. The code in wxDataViewMainWindow::OnPaint() relied on having at least the first column and didn't work for a completely empty control. Just don't paint it at all in this case as it's unnecessary anyhow.

2009-12-14 17:13 JMS, revision 62885

Make wxPG_EX_MULTIPLE_SELECTION behave more like a Windows list box (regarding Ctrl and Shift keys)

2009-12-14 16:33 JMS, revision 62884

Determine better whether the property editor needs to be refreshed in wxPGProperty::SetValue()

2009-12-14 16:18 JMS, revision 62882

'Set to Unspecified' -> 'Set Value to Unspecified'

2009-12-14 16:17 JMS, revision 62881

Set correct m_state in wxPGCheckBoxEditor::SetValueToUnspecified()

2009-12-14 16:15 JMS, revision 62880

Always refresh the editor when setting property value to unspecified.

2009-12-14 16:12 JMS, revision 62879

Fixed unspecified property value rendering for various editor types (including check box)

2009-12-14 13:41 VZ, revision 62877

Restore correct access to wxGenericStaticText::Set{Font,Label}. Accessibility of these methods was accidentally changed to protected in r62821 and this broke wxUniv compilation, make them public again.

2009-12-14 10:38 CE, revision 62876

fix for second bug in bug 11438

2009-12-13 13:52 VZ, revision 62871

Remove unnecessary Mac-specific TOOLKIT_LOWERCASE setting. TOOLKIT is never set to "MAC" at all (it is one of OSX_{CARBON,COCOA,IPHONE}) so it is not necessary to test for it. And for the other cases the special logic for OS X ports was the same as the general case so it seems to be unnecessary as well.

2009-12-13 13:52 VZ, revision 62870

Add --with-[osx_]iphone switch to configure. This is another Mac (wxUSE_MAC is defined) port with TOOLKIT=OSX_IPHONE. Also use this port by default for arm-apple-darwin platforms.

2009-12-13 13:52 VZ, revision 62869

Test for sw_vers availability before calling it in configure. There is no sw_vers when cross-compiling, just assume 10.4 system in this case and point the user to --with-macosx-version-min which can be used to override this.

2009-12-13 13:52 VZ, revision 62868

Rename --with-cocoa configure switch to --with-old_cocoa to avoid confusion. Change --with-cocoa to be synonym for --with-osx_cocoa, add --with-carbon as a synonym for --with-osx_carbon for consistency and --with-osx as a synonym for --with-mac.

2009-12-13 13:00 JMS, revision 62867

Added wxPropertyGridManager header support; Refactored wxPropertyGrid DoSetSplitterPosition() code

2009-12-12 15:01 SC, revision 62866

rearranging contentview, adding toolbar

2009-12-12 14:40 SC, revision 62865

rearranging contentview, adding toolbar

2009-12-12 13:24 JMS, revision 62864

wxHeaderColumnBase -> wxHeaderColumn; Fixed UpdateColumnWidthToFit() sample code

2009-12-12 11:10 JMS, revision 62863

On Windows, force read-only property editor wxTextCtrl to have 'white' background (for now...)

2009-12-12 10:59 JMS, revision 62862

Added a proper log frame to the propgrid sample

2009-12-12 10:38 JMS, revision 62861

Generate wxPropertyGrid splitter (column divider) events: wxEVT_PG_COL_BEGIN_DRAG, wxEVT_PG_COL_DRAGGING, wxEVT_PG_COL_END_DRAG

2009-12-11 16:50 JMS, revision 62859

Fixed incorrect use of RemoveAt() in wxPropertyGridPageState::SetColumnCount() (fixes #11539)

2009-12-11 14:55 CE, revision 62857

fix for bug 11438

2009-12-10 04:04 VZ, revision 62850

Add support for stretchable spaces to wxToolBar. Stretchable spaces consume all extra toolbar space not allocated to the fixed size items. They can in particular be used to right-align (some) toolbar tools. Add and document the new API, change the sample to show it and implement it for MSW, GTK and OS X/Cocoa. Also refactor MSW background erasing/repainting code to avoid duplicated calls to DrawThemeBackground(), call it from a new helper MSWEraseRect() function. Note that we may want to add support for "invisible" separators, IOW non-stretchable spaces. This could be easily done for MSW after the changes in this commit and is supported natively by GTK+ and Cocoa so implementing this would be trivial if there is any interest.

2009-12-10 04:04 VZ, revision 62849

Rename gtk{,1}/tbargtk.{h,cpp} to toolbar.{h,cpp}. We don't use crptknm$port.cpp naming convention even for MSW any more and there is really no reason to continue to do it for just this one file in wxGTK.

2009-12-10 03:59 VZ, revision 62848

Set correct toolbar width in wxMSW wxFrame. The hack introduced in r22410 artificially set wrong size for toolbar under MSW. This completely breaks any calculations that can be done using it (e.g. to find the space available for the stretchable part of the toolbar) and is completely and utterly unexpected. Revert it, toolbar flicker must be dealt in another way if it is still a problem.

2009-12-10 03:59 VZ, revision 62847

No changes, just refactor wxToolBarToolBase ctors. Add the usual Init() function for common initialization.

2009-12-10 03:59 VZ, revision 62846

No changes, just slightly simplify the tool insertion code. Added a helper DoInsertNewTool() function to avoid code duplication and ensure that we never forget to delete a new tool if inserting it into the toolbar failed. Also explicitly document that the tool passed to the public InsertTool() is not owned by the toolbar and so must be deleted by the caller if its insertion failed.

2009-12-09 19:48 PJC, revision 62845

Rewrote wxRibbonPage realisation and layout code to avoid setting the position and size of panels multiple times. Fixed memory leak in wxRibbonToolBar::Realize().

2009-12-09 15:59 VZ, revision 62844

Avoid outputting the assert message twice in non-GUI code. As we always log the assert message in ::ShowAssertDialog() itself there is no need to log it again in wxAppTraitsBase::ShowAssertDialog(). Also show the "please wait while generating stack trace information" in wxAppTraitsBase::GetAssertStackTrace() itself instead of doing it in both places which call it.

2009-12-09 15:59 VZ, revision 62843

Don't limit the number of stack frames in GTK assert dialog to 20. This dialog uses a scrollbar to keep its vertical size reasonable in any case so there is absolutely no danger of making it too tall even if we show more frames in it.

2009-12-09 15:59 VZ, revision 62842

Better handling for asserts in non-main threads. Don't call wxTrap() when an assert in a non-main thread fails. As asserts are now always enabled by default, this is not a good idea. Instead just show the full details about the assert failure using wxMessageOutputDebug under the platforms without MT-safe message box function (i.e. everything but MSW currently). Add a possibility to test an assert happening in non-main thread to the except sample.

2009-12-09 15:59 VZ, revision 62841

No real changes, just remove __WXDEBUG__ tests. These tests are unnecessary now because asserts are almost always enabled. We could test for wxDEBUG_LEVEL but the code still compiles even if it's defined as 0 so there doesn't seem to be any need for it.

2009-12-09 15:58 VZ, revision 62840

Override OnAssertFailure() and not deprecated OnAssert() in except sample. Also make the overridden version more interesting instead of just calling the base class method from it.

2009-12-09 14:45 VZ, revision 62839

Document that wxTrap() now traps [almost] always. Don't mention the words "release mode" as there is no such thing now, instead refer to wxDEBUG_LEVEL explicitly.

2009-12-09 14:40 VZ, revision 62838

Add wxSymbian-specific headers and sources and build files. Patch by Andrei Matuk. Closes #11489.

2009-12-09 14:31 VZ, revision 62837

Explicitly link the SDK application example with user32.lib. As this sample uses GUI Windows functions, it requires this library. Not sure why it isn't added by bakefile automatically for app-type==gui target.

2009-12-09 14:27 VZ, revision 62836

STL build compilation fix. Explicitly cast wxWindowBase pointer to wxWindow before passing it to wxWindowList::Find().

2009-12-09 09:21 SC, revision 62835

support for getting current event loop on iPhone

2009-12-09 08:38 SC, revision 62834

avoiding string conversions on 1st param of wxStat, as the latter is having a param of wxString now always and does the conversion internally

2009-12-09 08:29 SC, revision 62833

using on all OSX variants

2009-12-09 08:28 SC, revision 62832

fixing toolbar support, adding iphone

2009-12-09 08:27 SC, revision 62831

make sure it is compilable w/o menus (eg on iPhone)

2009-12-09 08:26 SC, revision 62830

remove workaround

2009-12-09 08:24 SC, revision 62829

avoid double define warnings

2009-12-09 06:25 KO, revision 62828

Add OSX prefix, and be clear that this is OS X only API to avoid any expectation that this API may work elsewhere.

2009-12-08 17:36 VZ, revision 62825

Use X64 machine type for MSVC linker instead of old AMD64. The officially supported machine type name is X64 now, even if AMD64 is still supported. Closes #10711.

2009-12-08 17:35 VZ, revision 62824

Fix duplicate accelerator use in animate sample. Both "Play" and "Stop" used Ctrl+P. Closes #11425.

2009-12-08 17:35 VZ, revision 62823

Make wxPORTRAIT and wxLANDSCAPE elements of wxPrintOrientation enum. Change wxPrintData::SetOrientation() to take wxPrintOrientation instead of int. Closes #11393.

2009-12-08 16:56 VZ, revision 62822

Visually show the cells boundaries in layout sample grid sizer test. Closes #11456.

2009-12-08 16:56 VZ, revision 62821

Don't override DoGetBestSize() in wxGenericStaticText, it's unnecessary. The base class already does exactly the same thing -- except that it also accounts for the borders properly. Also fix access for a couple of DoXXX() member functions which should be protected and an event handler which can be private.

2009-12-08 16:56 VZ, revision 62820

Implement wxWindow::DoGetBorderSize() in the trivial case of wxBORDER_NONE. This fixes an assert in wxGenericStaticText which overrode DoGetBestClientSize() but not DoGetBorderSize(). It would still be useful to implement DoGetBorderSize() in wxGTK (and other ports) in general too as using wxGenericStaticText with non-default border still doesn't work.

2009-12-08 16:56 VZ, revision 62819

Fix unused parameter warning after last commit (r62818).

2009-12-08 16:36 VZ, revision 62818

Fix event object in wxSysColourChangedEvent. The handler for this event in the base class incorrectly changed the event object of the original event instead of setting it for the event being sent to the window children as it was supposed to. Closes #11458.

2009-12-08 16:24 VZ, revision 62817

Don't set the initial size as minimal size for top level windows. Correct the change of r62814: only call SetMinSize() for non-top-level windows as the user should be able to resize the top-level ones to be smaller than their initial size. This also fixes the GTK+ warning resulting from calling wxTLW::SetMinSize() from the ctor, before the window is realized.

2009-12-08 15:07 JS, revision 62816

Speed up adding pages during freezing

2009-12-08 15:07 JS, revision 62815

Speed up adding pages during freezing

2009-12-08 00:37 VZ, revision 62814

Set initial window size as its minimal size. The change of r62306 broke the code which relied on the window created with a given initial size to never become smaller than this size. This was to be expected because the best size of such window is now (1, 1) and not its initial size but we still need to preserve the old behaviour for compatibility and also because it usually does make sense to avoid shrinking the window with an explicitly specified initial size beneath this value. So call SetMinSize() with the initial size explicitly now in wxWindowBase ctor.

2009-12-07 18:03 VZ, revision 62813

Reset wxTheApp when starting to destroy the object it points to. Using wxTheApp when the corresponding object is already half destroyed can't be a good idea so reset it to NULL as soon as possible. Closes #11525.

2009-12-07 17:27 VZ, revision 62812

Add a very simple example of a Win32 application using wx DLL.

2009-12-07 17:27 VZ, revision 62811

Use __declspec(dllexport) instead of WXEXPORT in dll sample header. This header can be included from non-wx code so we can't use wx symbols in it.

2009-12-07 16:26 VZ, revision 62810

Document wxListCtrl::FindItem() return value. In particular mention that it returns -1 if no items were found. Closes #11523.

2009-12-07 16:23 JS, revision 62809

Don't crash if no document

2009-12-07 16:22 JS, revision 62808

Don't crash if no document

2009-12-07 16:06 JS, revision 62807

Safer access of member variables

2009-12-07 16:05 JS, revision 62806

Safer access of member variables

2009-12-07 14:37 VZ, revision 62805

Generate erase background events for native controls too under MSW. Remove the test which prevented the generation of erase background events from wxMSW::wxWindow::HandleEraseBkgnd(). Although it is true that native controls mostly erase background on their own, there are exceptions: we must erase the background of wxToolBar ourselves, for example. More importantly, there is no reason to prevent the user code from defining wxEVT_ERASE_BACKGROUND handlers for the native controls as this works just fine under MSW (although it doesn't under GTK nor probably other ports...). So also add a test erase background handler to the toolbar sample to verify that this does work. Closes #11514.

2009-12-07 06:01 VZ, revision 62804

Use white background by default for multiline readonly wxTextCtrl under MSW. The best default behaviour seems to be to use white background for multiline text controls even when they're read-only, as in previous wx versions. Also see #11521 which could be implemented to make this configurable.

2009-12-07 06:01 VZ, revision 62803

Move wxMSW wxTextCtrl::GetDefaultAttributes() to wxTextCtrlBase. This commit doesn't introduce any changes in the control behaviour, it simply moves the existing method to the base class because it is not MSW-specific. Also implement wxTextCtrlBase::GetClassDefaultAttributes() because if a class implements GetDefaultAttributes() it should implement it as well.

2009-12-07 04:04 VZ, revision 62802

Define MY_DLL_BUILDING symbol for dll sample DLL build. This is necessary to properly define MY_DLL_DECL as either WXIMPORT or WXEXPORT depending on whether my_dll.h is included from DLL itself or from outside it. Without this, MSVC generated warnings about inconsistent dll linkage.

2009-12-07 04:04 VZ, revision 62801

Add semi-public wxDynamicLibrary::MSWGetModuleHandle(). Rename old private wxGetModuleHandle() function to wxDynamicLibrary:: MSWGetModuleHandle() to allow its use in the dll sample. This fixes the sample compilation with VC6 which lacks GetModuleHandleEx()- related declarations.

2009-12-07 04:04 VZ, revision 62800

Correct placement of calling convention keyword: must follow the return type. Using __stdcall before the return type results in a warning with VC6 and an error with VC9, place it after the return type. Also use wxSTDCALL instead of just __stdcall for potentially better compatibility with other compilers.

2009-12-07 04:04 VZ, revision 62799

Regenerate dll samples makefiles using the correct source file name. The file is called wx_exe.cpp and not dll_user_wx.cpp in the svn, do use the correct name.

2009-12-07 03:20 VZ, revision 62798
  • D /wxWidgets/trunk/samples/dll/dll.dsw
  • D /wxWidgets/trunk/samples/ribbon/ribbon.dsw

Remove a couple of VC6 workspace files for the samples. See r62797.

2009-12-07 03:18 VZ, revision 62797
  • D /wxWidgets/trunk/samples/dll/dll_vc7.sln
  • D /wxWidgets/trunk/samples/dll/dll_vc8.sln
  • D /wxWidgets/trunk/samples/dll/dll_vc9.sln

Remove the MSVC solution files added with the new dll sample. We don't keep solution files in svn for the other samples, there is no reason for this one to be exceptional.

2009-12-07 02:54 KO, revision 62796

Add wxTLW::SetModified to allow apps to set the TLW's dirty state. On Mac this gives us the dot in the close button, not implemented elsewhere yet.

2009-12-06 17:32 KO, revision 62795

Handle deprecated style so we don't assert and then crash.

2009-12-06 16:31 VZ, revision 62794

Restore TAB in accelerator string wrong removed by r62791. See #11512.

2009-12-06 03:30 VZ, revision 62793

Correct two bugs in wxMBConv::FromWChar() with non NUL-terminated strings. The variable "lenChunk" was incorrectly used as the length of the wide string chunk which could result in wrong output. Worse, the output buffer could be overflown for the final chunk because it didn't have to have enough space for the trailing NUL(s) in it. Fix both bugs and added unit tests for them. Based on patch by Kuang-che Wu. Closes #11486.

2009-12-06 03:29 VZ, revision 62792

Minor corrections to ToWChar() comment. Don't refer to the non-existent outputBuf parameter and don't imply that the value of dstLen matters to decide whether we really convert or not -- only whether dst pointer itself is NULL or not does. See #11486.

2009-12-06 03:29 VZ, revision 62791

Use wxAcceleratorEntry::ToString() for undo/redo accelerator labels. Don't hardcode the string representation of the accelerators, it was inconsistent with the rest of wxWidgets which used '-' while here a '+' was used. Closes #11512.

2009-12-06 03:29 VZ, revision 62790

Fix wxFD_CLR() definition for Intel compiler under Linux. wxFD_CLR() should be void, not bool. Closes #11517.

2009-12-05 20:57 PC, revision 62789

minor cleanup

2009-12-05 20:45 PC, revision 62788

remove unused variables, minor cleanup

2009-12-05 20:29 PC, revision 62787

remove -I on nonexistent directory

2009-12-05 20:26 PC, revision 62786

remove unnecessary DoGetBestSize

2009-12-05 20:25 PC, revision 62785

simplify Enable()

2009-12-05 19:54 VS, revision 62784

Added samples/dll for showing how to use wxWidgets to implement a DLL that is used from another application written with a different toolkit (or different wx version).

2009-12-05 18:31 VZ, revision 62783

Implement wxNativeContainerWindow::IsShown() for MSW. Simply use native ::IsWindowVisible() for IsShown() implementation. Closes #11503.

2009-12-05 18:31 VZ, revision 62782

Add support for MSW unique volume names to wxFileName. Recognize the paths starting with "\\?\Volume{GUID}" under MSW and provide a way to test for them. Closes #8874.

2009-12-05 18:30 VZ, revision 62781

Don't lock global mutex when deleting wxThread to avoid deadlocks. Calling out the user-defined wxThread dtor while holding gs_mutexDeleteThread lock is a bad idea as it may result in deadlocks if the dtor deletes another thread. Only lock the mutex directly before manipulating the data it protects. Thanks to Neno Ganchev. Closes #11501.

2009-12-05 18:24 PC, revision 62780

correct parameter type

2009-12-05 15:25 VZ, revision 62779

Don't crash in wxActiveXContainer if FindConnectionPoint() failed. This method is supposed to succeed but don't crash by calling Advise() on NULL pointer if it did not.

2009-12-05 10:05 VS, revision 62778

Documented that wxCriticalSection can be used before wxInitialize(), as a global object.

2009-12-05 02:32 VZ, revision 62777

Fix wxLogChain (and wxLogWindow deriving from it) broken by wxLog changes. wxLogChain::DoLogRecord() only called DoLogRecord() on the old logger but not the new one when the new logger was the same object as wxLogChain itself as is always the case for wxLogWindow. The result was that nothing was logged into the window.

2009-12-03 19:19 JMS, revision 62773

Exit wxPropertyGrid::RecalculateVirtualSize() immediately if it was called before the grid state was initialized.

2009-12-03 19:08 JMS, revision 62772

Handle the rare case where wxPropertyGrid::HandleCustomEditorEvent() may receive event before the grid state has been initialized.

2009-12-03 18:20 PC, revision 62771

make access for virtuals match base

2009-12-03 17:26 VZ, revision 62770

Suppress errors from static bitmap page of widgets sample. Don't fail loudly if the image file is not found (which can happen under Unix if the image sample wasn't built yet or if we're not running the sample from its own directory) but just don't create the bitmap.

2009-12-03 17:26 VZ, revision 62769

Don't assert if the path is not absolute in wxFileDialog::SetPath(). Remove the assert added in r62101 (see #10917), it was wrong as the other ports do not assert in this case. Instead, just ensure that the path we use with the GTK+ native chooser is absolute.

2009-12-02 18:28 PC, revision 62764

make array data fully const

2009-12-02 18:27 PC, revision 62763

use const_cast where appropriate

2009-12-02 17:36 PC, revision 62762

check for self assignment in operator=

2009-12-02 14:27 VZ, revision 62761

Compilation fix after r62754. Don't pass second argument to wxPizza::New() any more in wxStaticBox.

2009-12-02 01:57 BP, revision 62760

Removed hard-coded timer Id in wxAUI for the transparent hint fade functionality. (fixes #11435)

2009-12-01 21:23 BP, revision 62759

Forward-port of r62758 (Added wxHtmlEasyPrinting name accessor and modifier).

2009-12-01 21:21 BP, revision 62758

Added wxHtmlEasyPrinting name accessor and modifier (only one wxHtmlEasyPrinting instance is supposed to be used for multiple printouts).

2009-12-01 18:16 PC, revision 62756

remove m_backing_window member, to keep people from trying to use it

2009-12-01 17:47 VZ, revision 62755

Add wxOSX_10_6_AND_LATER macro and use it. Replace all occurrences of @interface wxFoo : NSFoo #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 <NSProtocol> #endif which we used for protocols new in 10.6 with just @interface wxFoo : NSFoo wxOSX_10_6_AND_LATER(<NSProtocol>) which looks better and simpler.

2009-12-01 17:23 PC, revision 62754

remove unused data member

2009-12-01 01:43 VZ, revision 62753

Define _CRT_NONSTDC_NO_WARNINGS to suppress MSVC warning in libtiff. Defining lfind as _lfind is not enough and a warning C4996 is still generated by MSVC9 when the function is called.

2009-12-01 01:42 VZ, revision 62752

Define _CRT_SECURE_NO_WARNINGS when building 3rd party libs with MSVC. Avoid dozens of warnings about "unsafe" use of the standard C library functions in 3rd party code which are harmless and which we don't care about in any case.

2009-11-30 18:47 SC, revision 62749

using 64bit APIs, closes #10184

2009-11-30 14:17 FM, revision 62748

partially revert changes of r58531 as wxCollapsiblePane currently doesn't work with GTK+ 2.18.3 (altough it does work with GTK+ 2.12.2); all following changes (r58632,58718,61109) should have been preserved

2009-11-30 02:08 KO, revision 62747

orderBack puts it behind all windows in its level, including in other apps, so use orderFront instead.

2009-11-30 01:30 VZ, revision 62746

Fix compilation of image sample with wxUSE_LIBPNG==0. Also don't propose to save the file using the extensions not supported in this library build. Closes #11495.

2009-11-30 01:30 VZ, revision 62745

Fix compilation in wxUSE_STL==1 case broken by r62738. We need to use wxString::c_str() explicitly to convert wxString to const char * in STL build.

2009-11-29 22:46 KO, revision 62744

Make sure we setup the base's Show state correctly and send a show event.

2009-11-29 10:42 JMS, revision 62743

Fixed regression: forgot to set wxPropertyGridPageState::m_anyModified to false in wxPropertyGridInterface::ClearModifiedStatus().

2009-11-28 21:09 KO, revision 62741

Fix needed to allow shaped windows, and other windows without a title bar, to get the focus when clicked under OS X.

2009-11-28 21:05 SC, revision 62740

64bit builds had problems with full circles, as we can use 10.4+ only APIs, use new implementation, fixes #11471

2009-11-28 15:37 VZ, revision 62738

Allow calling wxStrchr() with a narrow string and wide character. Calls to wxStrchr(char-string, wide-char) would previously fail if wide character couldn't be converted to a single character in the current locale encoding. Change it to simply return NULL in this case as it's a safe and useful generalization: a narrow string will never contain a wide character not representable in the current locale. Add wxUniChar::GetAsChar() to help with implementing this. Closes #11487.

2009-11-28 04:37 VZ, revision 62737

Define INVALID_FILE_ATTRIBUTES in filename.cpp too. Fix VC6 compilation: INVALID_FILE_ATTRIBUTES is not defined in its headers so we need to do it ourselves (this was done in filefn.cpp before but part of the code using this constant was moved to filename.cpp in r62735 so now we need to define it here too).

2009-11-28 04:37 VZ, revision 62736

No changes, just remove unnecessary UTF-8 bytes. The patch of #11187 (applied in r61884) unnecessarily used +U2019 which can't be converted to latin1, remove it.

2009-11-28 03:40 VZ, revision 62735

Implement wx{File,Dir}Exists() in terms of wxFileName methods. Use wxFileName from the global functions instead of using global functions in wxFileName methods as wxFileName is the preferred API for all these operations. Closes #11488.

2009-11-28 03:29 VZ, revision 62734

Don't override msw.remap system option value in wxToolbook. Introducing a system option for all toolbars and then ignoring it inside wx itself is ridiculous and just goes to prove that this option itself was a mistake. But as we have it, we should respect whatever value it's set to (which should hopefully be 0 anyhow for most modern systems) instead of overriding it forcefully making the mockery of the whole "option" concept.

2009-11-28 03:29 VZ, revision 62733

Avoid infinite recursion in wxToolbook::OnSize() under wxMSW. Reset m_needsRealizing flag before calling wxToolBar::Realize() as doing this can result in another call to wxToolbook::OnSize() itself. Closes #11942.

2009-11-28 03:28 VZ, revision 62732

Use OUTLINETEXTMETRIC::otmpFamilyName to get wxFont face name from MSW. In spite of the name, we need to use otmpFamilyName member of OUTLINETEXTMETRIC struct and not otmpFaceName to get the font face name: the latter may contain (locale-dependent, so the changes of r62708 didn't work for non-English versions of Windows) "Italic" or "Bold" suffix while the former does not and is what we want. This should really fix the unit test failures, even in French locale.

2009-11-27 22:36 VZ, revision 62731

Compilation fix for wxUSE_CAIRO==0 after last commit. Include wx/graphics.h when wxUSE_CAIRO==0 but wxUSE_GRAPHICS_CONTEXT==1 (as in e.g. MSW builds).

2009-11-27 22:06 VZ, revision 62730

Define wxUSE_CAIRO in wx/chkconf.h to ensure that it's always defined. wxUSE_CAIRO used to be defined only in wx/cairo.h but this header wasn't included by src/common/dcgraph.cpp so the code there was compiled as if we were not using Cairo even when we were (thanks g++ for the warning). Define it in wx/chkconf.h (included from wx/defs.h, i.e. always) now to ensure that not only this bug is fixed but also that it can't happen any more.

2009-11-27 22:05 VZ, revision 62729

Use #ifdef to check for __WXMSW__ and __WXGTK__ and not #if. Using #if doesn't work when symbols are not defined.

2009-11-27 02:47 VZ, revision 62728

Allow changing horizontal alignment of numeric cells in wxGrid. wxGridCellAttr didn't provide any way to query its alignment attributes without falling back to the (always defined) default alignment so the code in wxGridCellNumberRenderer and similar classes simply always used right alignment, Add a new wxGridCellAttr::GetNonDefaultAlignment() function which allows to retrieve the alignment defined in the attribute and use it to use right alignment by default but allow overriding it. Add a test to the sample showing a non right-aligned numeric cell. Incidentally fix a long-standing bug in wxGridCell{DateTime,Enum}Renderers which used wxRIGHT instead of wxALIGN_RIGHT and so were not aligned properly even by default.

2009-11-27 02:47 VZ, revision 62727

Add symbolic constant wxALIGN_INVALID and use it instead of -1 in wxGrid. wxGridCellAttr was using literal -1 to indicate "no alignment" which wasn't immediately obvious, use a new wxALIGN_INVALID (which has the same value) instead.

2009-11-27 00:14 KO, revision 62726

Build fix for OS X <= 10.5.

2009-11-27 00:11 KO, revision 62725

Allow OS X Cocoa (or any OS X port) to override GetBestSize and provide a native OS X Cocoa impl. Also, fix the line ending check under OS X Cocoa, and a sanity check for SetStyle.

2009-11-26 22:52 KO, revision 62724

Add CheckSpelling support for OS X Cocoa, make sure NSTextView-based wxTextCtrls emit EVT_TEXT, and a fix for GetStyle when position == length.

2009-11-26 17:17 VZ, revision 62722

Make wxFileDialog::Set/SetPath() behave consistently. wxFileDialog::GetPath() didn't return the value set by a previous call to SetPath() in wxMSW version. Fix this and also implement SetPath() and SetDirectory() methods in the generic versions in the same way as SetFilename(). Closes #3672.

2009-11-26 17:10 VZ, revision 62721

Fix off by 1 errors in owner-drawn menu drawing code in wxMSW. The label was offset by 1 pixel vertically and the check marks were 1 pixel too wide compared to the native ones under XP, correct this. Closes #11420 (again).

2009-11-26 16:59 VZ, revision 62720

Don't set wxTextAttr font family to invalid value. wxTextAttr::HasFontFamily() shouldn't return true if there is no valid font family in this attribute but this could happen if it was constructed from a font which didn't know its own family. This fixes asserts on the startup of the text sample in wxMSW due to passing wxFONTFAMILY_UNKNOWN to wxFont::SetFamily() when trying to use such invalid attribute later.

2009-11-26 16:59 VZ, revision 62719

Use wxTE_RICH style for the log window in the text sample. This makes it have nicer colour (white instead of grey by default) under MSW and wxTE_RICH was already in the code, just commented out -- it seems it's better to enable it (as it also allows more text to be shown in the control under old Windows versions) than to remove it.

2009-11-26 04:29 VZ, revision 62718

Explicitly set the cursor when showing popup menu on text control in wxMSW. Without this, an I-beam cursor is used when a menu is shown by a rich text control. Set the arrow cursor explicitly to work around this apparent bug in the native control. Closes #11314.

2009-11-26 03:34 VZ, revision 62717

No changes, just avoid overriding GetNativeFontInfoDesc() in wxMSW wxFont. wxFont::GetNativeFontInfoDesc() and GetNativeFontInfoUserDesc() were overridden just to ensure that the font is realized but it makes sense to do it in wxFontRefData::GetNativeFontInfo() itself as detecting the face name won't work if the font is not realized anyhow. And then we don't need these functions at all as the only thing they do is checking that the font is valid when they are called but this can be done in the base class itself as this should happen in all ports (document that this is the case).

2009-11-26 03:33 VZ, revision 62716

Return face name from wxFont::GetNativeFontInfo() under MSW. Retrieve the face name from the system if we don't have it already before returning the native font info. This fixes the currently failing font unit tests.

2009-11-26 02:51 VZ, revision 62715

Improve wxCheckListBox appearance under Vista/Win7. Fix the items alignment and also code cleanup: fix indentation, remove magic numbers &c. Closes #10286.

2009-11-25 15:17 VZ, revision 62713

Correct drawing of check marks for owner-drawn items without bitmaps. Standard check mark was not drawn correctly for check/radio items without bitmaps. Closes #11480.

2009-11-25 15:17 VZ, revision 62712

Correct alignment of menu accelerator strings in owner-drawn menus. Draw them right-aligned as the native menus do. Closes #11479.

2009-11-24 01:02 VZ, revision 62709

Don't use unsafe strcpy() when parsing wxNativeFontInfo. Fix a nice buffer overflow waiting to happen due to the use of wxStrcpy(). Call wxNativeFontInfo::SetFaceName() which uses wxStrlcpy() instead.

2009-11-24 01:02 VZ, revision 62708

Don't return italic/bold suffix from wxFont::GetFaceName() in wxMSW. These suffixes don't make part of the face name in wx API but the native MSW API which we use since r62675 does return them. This made the unit test fail in SettingsTestCase::GlobalFonts() as a face name with such suffix wasn't recognized as a valid face name any more, so simply remove them.

2009-11-24 01:01 VZ, revision 62707

Make the assert in SettingsTestCase::GlobalFonts() more informative. Show the index of the font and the face name which was invalid.

2009-11-24 01:01 VZ, revision 62706

Fix wxListCtrl::GetSubItemRect(wxLIST_RECT_ICON/LABEL) in wxMSW for column 0. Wrong width was returned for the icon or label rectangle when querying the first column. Fix this and add a test to the sample allowing to check this. GetSubItemRect() still returns wrong results for second and subsequent columns, see #11355.

2009-11-24 01:01 VZ, revision 62705

Don't change file access time implicitly when setting it explicitly. wxFileHandle helper class used in wxFileName::SetTimes() under MSW modified the file access time by setting it to the current time because it opened the file in a wrong mode. Closes #10567.

2009-11-24 01:01 VZ, revision 62704

Enable wxGraphicsContext and related classes by default if supported. For MSW, check for gdiplus.h availability when using configure but only support it for MSVC 7+ otherwise. For the other platforms, always support it.

2009-11-23 23:38 VZ, revision 62703

Use theme functions for drawing owner-drawn menus. This makes the menu items with custom attributes or bitmaps look more native, especially on post-XP systems. Closes #11420.

2009-11-23 10:34 JS, revision 62700

Made Unicode the default in symbols dialog.

2009-11-23 10:34 JS, revision 62699

Made Unicode the default in symbols dialog. Fixed wrongly sized symbols dialog.

2009-11-22 12:24 VZ, revision 62698

Define wxNO_RTTI if RTTI support is disabled for g++ or MSVC. For g++ it could have been possible to define wxNO_RTTI in configure itself but it seems better/simpler/more maintainable to do it in C++ code. As for MSVC, we already define wxNO_RTTI correctly if build/msw/makefile.vc is used but not if (modified or rebaked) project files are used and detecting RTTI support in the code is the only way to fix it.

2009-11-22 12:24 VZ, revision 62697

Document that throwing exceptions from wxTimer::Notify() is unsupported. Currently exceptions thrown from this function are not passed to wxApp:: OnExceptionInMainLoop() (unlike exceptions thrown from timer event handlers).

2009-11-22 12:00 SN, revision 62696

Fixed Cut&Paste error in wxTextCtrl::ChangeValue documentation (fixes #11469).

2009-11-21 18:02 SC, revision 62695

making sure creation is setup correctly for wx-frame coordinates into cocoa-content coordinates, fixes #11463

2009-11-21 12:39 JMS, revision 62694

Added a new documentation overview section 'Caveats When Not Using C++ RTTI', describing possible problems with Bind() and wxAny when C++ RTTI is disabled.

2009-11-21 10:28 JMS, revision 62693

Unified meaning of wxTypeIdentifier in RTTI and RTTI-less type info systems; Fixed and added some comments

2009-11-19 23:34 VZ, revision 62692

Fix compilation for some wxMSW configurations. wx/scopeguard.h was not always included when using PCH, so include it in any case, not just #ifndef WX_PRECOMP.

2009-11-19 22:16 JMS, revision 62691

Fixed builds without wxHAS_EVENT_BIND (typeinfo.h include was misplaced)

2009-11-19 20:27 JMS, revision 62690

Added typeinfo.h which implements wxTypeId, using C++ RTTI if available. wxAny and Unbind<>() code are updated to use it. Added and updated related unit tests.

2009-11-19 02:36 VZ, revision 62686

Compilation fix for wxUSE_STL build: another missing _str(). Use utf8_str() to convert wxString to GTK+ string instead of relying on implicit conversion which doesn't exist when wxUSE_STL==1 (and also when using wchar_t-based Unicode build).

2009-11-18 22:01 KO, revision 62683

Fix accidental commit of 2.8 ABI compat. code.

2009-11-18 20:22 KO, revision 62682

Rebake after last commit.

2009-11-18 20:05 KO, revision 62681

Forward port of r60190 (wxMSW Cairo support) to trunk.

2009-11-18 15:01 JS, revision 62680

Fixed #11212 [RichText sample] Assert/Crash when Styles combo box opened Patch by Catalin

2009-11-18 10:56 VZ, revision 62679

Suppress harmless g++ warnings about converting float/double to int. The conversion is done on purpose on these places so just suppress the warning by using explicit casts.

2009-11-18 10:56 VZ, revision 62678

Fix harmless g++ warning about using NULL for non-pointer. PostQueuedCompletionStatus() may be either an int or a pointer, pass 0 instead of NULL when we don't care about its value anyhow.

2009-11-18 04:45 VZ, revision 62677

Fix handling of invalid paths with multiple columns in wxFileName. SplitVolume() didn't handle colons in the initial position correctly which surprised SetPath() and led to accessing an out-of-range string element. Fix SplitVolume() and also add a check to SetPath() itself as it seems like it could be called with a path containing the volume only. Closes #11453.

2009-11-18 04:18 VZ, revision 62676

Remove unnecessary manual face name selection code. The change of r60391 made specifying the face name explicitly unnecessary but left the code which filled "facename" array in wxNativeFontInfo::SetFamily() with face names even though it was never used -- simply remove this code.

2009-11-18 04:18 VZ, revision 62675

Implement wxFont::GetFaceName() to return the face name being really used. Since the change of r60391 empty face name was returned for all fonts created using the standard wxFont constructor (so basically all fonts except for those created from native font info and the default/normal font which we retrieve from the system). Use Windows GetOutlineTextMetrics() function to get the real face name being used independently of the way the font was created.

2009-11-17 21:20 VS, revision 62674

Improved handling of anchors in wxHTML: scroll to better position (patch #11406).

2009-11-17 15:47 VZ, revision 62672

Fix typo in Bind() documentation: s/binded/bound/ Closes #11450.

2009-11-17 15:47 VZ, revision 62671

Explicitly document event types for EVT_CLOSE(). Closes #11445.

2009-11-16 22:57 BP, revision 62670

Backport of r62669 to 2.8 branch. Fix crash when dragging toolbars in wxAuiManager::OnFloatingPaneMoveStart(). (fixes #10170)

2009-11-16 22:55 BP, revision 62669

Fix crash when dragging toolbars in wxAuiManager::OnFloatingPaneMoveStart(). (fixes #10170)

2009-11-16 22:31 RD, revision 62668

Add some missing commas. Fixes #11443

2009-11-16 22:28 RD, revision 62667

Add some missing commas. Fixes #11443

2009-11-16 19:39 RR, revision 62666

Always set focus to the item selected using Select()

2009-11-16 16:03 VZ, revision 62665

Fix wxDataViewRenderer::GetEllipsizeMode() for kDataBrowserTruncateTextMiddle. The value of this constant is 0 so don't test for it using operator "&", it's just the default if no others are specified. Fixes assert on startup of the dataview sample.

2009-11-15 16:07 RR, revision 62664

Maybe fixed assertion when using built-in searching non-string columns

2009-11-15 15:54 RR, revision 62663

Don't use Ctrl-F as it hides a bug

2009-11-15 14:39 RR, revision 62662

Do earlier and better checking for matching actions and data format, hopefully fixes #11201

2009-11-15 13:05 SC, revision 62661

fixing typo for builds < 10.6

2009-11-15 11:29 RR, revision 62660

Disable GTK cast checks in wx code

2009-11-15 10:40 RR, revision 62659

Revert wxFlexGridSizer constr. change

2009-11-15 05:02 PC, revision 62657

look for backtrace() in -lexecinfo, fixes #9783

2009-11-15 02:36 KO, revision 62656

ShowWithoutActivating fix for OS X Cocoa, and also add support for shaped windows at least when the image being drawn has proper alpha/mask set. I'm not sure if we can support it by setting a region on the TLW, as the way to do this in Cocoa is just to make the TLW's background transparent and use alpha in whatever you draw.

2009-11-15 00:15 VZ, revision 62655

Implement support for wxSL_<DIR> in wxGTK, show them better in the sample. Support wxSL_{LEFT,TOP,RIGHT,BOTTOM} in wxGTL version of wxSlider. Make the display of the orientations in the slider page of the widgets sample more clear. Also document wxSL_<DIR> meaning better.

2009-11-15 00:15 VZ, revision 62654

No changes, just removed trailing spaces.

2009-11-15 00:15 VZ, revision 62653

Correct wxSL_VERTICAL addition in r62618. It was incorrectly added to the case label value instead of flags.

2009-11-15 00:14 VZ, revision 62652

Minor corrections to wxSL_LABELS definition and documentation. Use parentheses around the macro expansion to ensure that code like "whatever & ~wxSL_LABELS" still works as expected. Be more explicit in wxSL_LABELS description and mark wxSL_MIN_MAX_LABELS and wxSL_VALUE_LABEL as being new in 2.9.1.

2009-11-14 22:50 RR, revision 62651

Restore ability to create wxFlexGridSizer with 2 params (number of columns and vertical gap)

2009-11-14 20:52 KO, revision 62650

Don't assert when we get wxBG_STYLE_TRANSPARENT.

2009-11-14 20:51 KO, revision 62649

Fix typo that broke compilation and adjust the defines to avoid an empty #if.

2009-11-14 19:56 RR, revision 62648

Hide value label explicitly

2009-11-14 18:34 VZ, revision 62645

Undo test code accidentally committed as part of r62643.