wxWidgets.git
14 years agoTest for sw_vers availability before calling it in configure.
Vadim Zeitlin [Sun, 13 Dec 2009 12:52:47 +0000 (12:52 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRename --with-cocoa configure switch to --with-old_cocoa to avoid confusion.
Vadim Zeitlin [Sun, 13 Dec 2009 12:52:42 +0000 (12:52 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdded wxPropertyGridManager header support; Refactored wxPropertyGrid DoSetSplitterPo...
Jaakko Salli [Sun, 13 Dec 2009 12:00:04 +0000 (12:00 +0000)] 
Added wxPropertyGridManager header support; Refactored wxPropertyGrid DoSetSplitterPosition() code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agorearranging contentview, adding toolbar
Stefan Csomor [Sat, 12 Dec 2009 14:01:28 +0000 (14:01 +0000)] 
rearranging contentview, adding toolbar

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agorearranging contentview, adding toolbar
Stefan Csomor [Sat, 12 Dec 2009 13:40:24 +0000 (13:40 +0000)] 
rearranging contentview, adding toolbar

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agowxHeaderColumnBase -> wxHeaderColumn; Fixed UpdateColumnWidthToFit() sample code
Jaakko Salli [Sat, 12 Dec 2009 12:24:28 +0000 (12:24 +0000)] 
wxHeaderColumnBase -> wxHeaderColumn; Fixed UpdateColumnWidthToFit() sample code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoOn Windows, force read-only property editor wxTextCtrl to have 'white' background...
Jaakko Salli [Sat, 12 Dec 2009 10:10:15 +0000 (10:10 +0000)] 
On Windows, force read-only property editor wxTextCtrl to have 'white' background (for now...)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdded a proper log frame to the propgrid sample
Jaakko Salli [Sat, 12 Dec 2009 09:59:20 +0000 (09:59 +0000)] 
Added a proper log frame to the propgrid sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoGenerate wxPropertyGrid splitter (column divider) events: wxEVT_PG_COL_BEGIN_DRAG...
Jaakko Salli [Sat, 12 Dec 2009 09:38:10 +0000 (09:38 +0000)] 
Generate wxPropertyGrid splitter (column divider) events: wxEVT_PG_COL_BEGIN_DRAG, wxEVT_PG_COL_DRAGGING, wxEVT_PG_COL_END_DRAG

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFixed incorrect use of RemoveAt() in wxPropertyGridPageState::SetColumnCount() (fixes...
Jaakko Salli [Fri, 11 Dec 2009 15:50:04 +0000 (15:50 +0000)] 
Fixed incorrect use of RemoveAt() in wxPropertyGridPageState::SetColumnCount() (fixes #11539)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd support for stretchable spaces to wxToolBar.
Vadim Zeitlin [Thu, 10 Dec 2009 03:04:19 +0000 (03:04 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRename gtk{,1}/tbargtk.{h,cpp} to toolbar.{h,cpp}.
Vadim Zeitlin [Thu, 10 Dec 2009 03:04:07 +0000 (03:04 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoSet correct toolbar width in wxMSW wxFrame.
Vadim Zeitlin [Thu, 10 Dec 2009 02:59:16 +0000 (02:59 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoNo changes, just refactor wxToolBarToolBase ctors.
Vadim Zeitlin [Thu, 10 Dec 2009 02:59:11 +0000 (02:59 +0000)] 
No changes, just refactor wxToolBarToolBase ctors.

Add the usual Init() function for common initialization.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoNo changes, just slightly simplify the tool insertion code.
Vadim Zeitlin [Thu, 10 Dec 2009 02:59:02 +0000 (02:59 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRewrote wxRibbonPage realisation and layout code to avoid setting the position and...
Peter Cawley [Wed, 9 Dec 2009 18:48:41 +0000 (18:48 +0000)] 
Rewrote wxRibbonPage realisation and layout code to avoid setting the position and size of panels multiple times.
Fixed memory leak in wxRibbonToolBar::Realize().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAvoid outputting the assert message twice in non-GUI code.
Vadim Zeitlin [Wed, 9 Dec 2009 14:59:26 +0000 (14:59 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDon't limit the number of stack frames in GTK assert dialog to 20.
Vadim Zeitlin [Wed, 9 Dec 2009 14:59:13 +0000 (14:59 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoBetter handling for asserts in non-main threads.
Vadim Zeitlin [Wed, 9 Dec 2009 14:59:08 +0000 (14:59 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoNo real changes, just remove __WXDEBUG__ tests.
Vadim Zeitlin [Wed, 9 Dec 2009 14:59:01 +0000 (14:59 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoOverride OnAssertFailure() and not deprecated OnAssert() in except sample.
Vadim Zeitlin [Wed, 9 Dec 2009 14:58:56 +0000 (14:58 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDocument that wxTrap() now traps [almost] always.
Vadim Zeitlin [Wed, 9 Dec 2009 13:45:41 +0000 (13:45 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoExplicitly link the SDK application example with user32.lib.
Vadim Zeitlin [Wed, 9 Dec 2009 13:31:46 +0000 (13:31 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoSTL build compilation fix.
Vadim Zeitlin [Wed, 9 Dec 2009 13:27:53 +0000 (13:27 +0000)] 
STL build compilation fix.

Explicitly cast wxWindowBase pointer to wxWindow before passing it to
wxWindowList::Find().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agosupport for getting current event loop on iPhone
Stefan Csomor [Wed, 9 Dec 2009 08:21:28 +0000 (08:21 +0000)] 
support for getting current event loop on iPhone

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoavoiding string conversions on 1st param of wxStat, as the latter is having a param...
Stefan Csomor [Wed, 9 Dec 2009 07:38:22 +0000 (07:38 +0000)] 
avoiding string conversions on 1st param of wxStat, as the latter is having a param of wxString now always and does the conversion internally

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agousing on all OSX variants
Stefan Csomor [Wed, 9 Dec 2009 07:29:43 +0000 (07:29 +0000)] 
using on all OSX variants

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agofixing toolbar support, adding iphone
Stefan Csomor [Wed, 9 Dec 2009 07:28:51 +0000 (07:28 +0000)] 
fixing toolbar support, adding iphone

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agomake sure it is compilable w/o menus (eg on iPhone)
Stefan Csomor [Wed, 9 Dec 2009 07:27:22 +0000 (07:27 +0000)] 
make sure it is compilable w/o menus (eg on iPhone)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoremove workaround
Stefan Csomor [Wed, 9 Dec 2009 07:26:10 +0000 (07:26 +0000)] 
remove workaround

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoavoid double define warnings
Stefan Csomor [Wed, 9 Dec 2009 07:24:50 +0000 (07:24 +0000)] 
avoid double define warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd OSX prefix, and be clear that this is OS X only API to avoid any expectation...
Kevin Ollivier [Wed, 9 Dec 2009 05:25:32 +0000 (05:25 +0000)] 
Add OSX prefix, and be clear that this is OS X only API to avoid any expectation that this API may work elsewhere.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse X64 machine type for MSVC linker instead of old AMD64.
Vadim Zeitlin [Tue, 8 Dec 2009 16:36:37 +0000 (16:36 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix duplicate accelerator use in animate sample.
Vadim Zeitlin [Tue, 8 Dec 2009 16:35:54 +0000 (16:35 +0000)] 
Fix duplicate accelerator use in animate sample.

Both "Play" and "Stop" used Ctrl+P.

Closes #11425.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoMake wxPORTRAIT and wxLANDSCAPE elements of wxPrintOrientation enum.
Vadim Zeitlin [Tue, 8 Dec 2009 16:35:47 +0000 (16:35 +0000)] 
Make wxPORTRAIT and wxLANDSCAPE elements of wxPrintOrientation enum.

Change wxPrintData::SetOrientation() to take wxPrintOrientation instead of
int.

Closes #11393.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoVisually show the cells boundaries in layout sample grid sizer test.
Vadim Zeitlin [Tue, 8 Dec 2009 15:56:26 +0000 (15:56 +0000)] 
Visually show the cells boundaries in layout sample grid sizer test.

Closes #11456.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDon't override DoGetBestSize() in wxGenericStaticText, it's unnecessary.
Vadim Zeitlin [Tue, 8 Dec 2009 15:56:21 +0000 (15:56 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoImplement wxWindow::DoGetBorderSize() in the trivial case of wxBORDER_NONE.
Vadim Zeitlin [Tue, 8 Dec 2009 15:56:14 +0000 (15:56 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix unused parameter warning after last commit (r62818).
Vadim Zeitlin [Tue, 8 Dec 2009 15:56:08 +0000 (15:56 +0000)] 
Fix unused parameter warning after last commit (r62818).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix event object in wxSysColourChangedEvent.
Vadim Zeitlin [Tue, 8 Dec 2009 15:36:51 +0000 (15:36 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDon't set the initial size as minimal size for top level windows.
Vadim Zeitlin [Tue, 8 Dec 2009 15:24:59 +0000 (15:24 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoSpeed up adding pages during freezing
Julian Smart [Tue, 8 Dec 2009 14:07:43 +0000 (14:07 +0000)] 
Speed up adding pages during freezing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoSet initial window size as its minimal size.
Vadim Zeitlin [Mon, 7 Dec 2009 23:37:36 +0000 (23:37 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoReset wxTheApp when starting to destroy the object it points to.
Vadim Zeitlin [Mon, 7 Dec 2009 17:03:25 +0000 (17:03 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd a very simple example of a Win32 application using wx DLL.
Vadim Zeitlin [Mon, 7 Dec 2009 16:27:23 +0000 (16:27 +0000)] 
Add a very simple example of a Win32 application using wx DLL.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse __declspec(dllexport) instead of WXEXPORT in dll sample header.
Vadim Zeitlin [Mon, 7 Dec 2009 16:27:14 +0000 (16:27 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDocument wxListCtrl::FindItem() return value.
Vadim Zeitlin [Mon, 7 Dec 2009 15:26:31 +0000 (15:26 +0000)] 
Document wxListCtrl::FindItem() return value.

In particular mention that it returns -1 if no items were found.

Closes #11523.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDon't crash if no document
Julian Smart [Mon, 7 Dec 2009 15:23:09 +0000 (15:23 +0000)] 
Don't crash if no document

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoSafer access of member variables
Julian Smart [Mon, 7 Dec 2009 15:05:28 +0000 (15:05 +0000)] 
Safer access of member variables

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoGenerate erase background events for native controls too under MSW.
Vadim Zeitlin [Mon, 7 Dec 2009 13:37:01 +0000 (13:37 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse white background by default for multiline readonly wxTextCtrl under MSW.
Vadim Zeitlin [Mon, 7 Dec 2009 05:01:21 +0000 (05:01 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoMove wxMSW wxTextCtrl::GetDefaultAttributes() to wxTextCtrlBase.
Vadim Zeitlin [Mon, 7 Dec 2009 05:01:14 +0000 (05:01 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDefine MY_DLL_BUILDING symbol for dll sample DLL build.
Vadim Zeitlin [Mon, 7 Dec 2009 03:04:39 +0000 (03:04 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd semi-public wxDynamicLibrary::MSWGetModuleHandle().
Vadim Zeitlin [Mon, 7 Dec 2009 03:04:33 +0000 (03:04 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCorrect placement of calling convention keyword: must follow the return type.
Vadim Zeitlin [Mon, 7 Dec 2009 03:04:27 +0000 (03:04 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRegenerate dll samples makefiles using the correct source file name.
Vadim Zeitlin [Mon, 7 Dec 2009 03:04:22 +0000 (03:04 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRemove a couple of VC6 workspace files for the samples.
Vadim Zeitlin [Mon, 7 Dec 2009 02:20:05 +0000 (02:20 +0000)] 
Remove a couple of VC6 workspace files for the samples.

See r62797.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRemove the MSVC solution files added with the new dll sample.
Vadim Zeitlin [Mon, 7 Dec 2009 02:18:10 +0000 (02:18 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd wxTLW::SetModified to allow apps to set the TLW's dirty state. On Mac this gives...
Kevin Ollivier [Mon, 7 Dec 2009 01:54:21 +0000 (01:54 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoHandle deprecated style so we don't assert and then crash.
Kevin Ollivier [Sun, 6 Dec 2009 16:32:11 +0000 (16:32 +0000)] 
Handle deprecated style so we don't assert and then crash.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRestore TAB in accelerator string wrong removed by r62791.
Vadim Zeitlin [Sun, 6 Dec 2009 15:31:02 +0000 (15:31 +0000)] 
Restore TAB in accelerator string wrong removed by r62791.

See #11512.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCorrect two bugs in wxMBConv::FromWChar() with non NUL-terminated strings.
Vadim Zeitlin [Sun, 6 Dec 2009 02:30:05 +0000 (02:30 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoMinor corrections to ToWChar() comment.
Vadim Zeitlin [Sun, 6 Dec 2009 02:29:56 +0000 (02:29 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoUse wxAcceleratorEntry::ToString() for undo/redo accelerator labels.
Vadim Zeitlin [Sun, 6 Dec 2009 02:29:49 +0000 (02:29 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix wxFD_CLR() definition for Intel compiler under Linux.
Vadim Zeitlin [Sun, 6 Dec 2009 02:29:42 +0000 (02:29 +0000)] 
Fix wxFD_CLR() definition for Intel compiler under Linux.

wxFD_CLR() should be void, not bool.

Closes #11517.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agominor cleanup
Paul Cornett [Sat, 5 Dec 2009 19:57:58 +0000 (19:57 +0000)] 
minor cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoremove unused variables, minor cleanup
Paul Cornett [Sat, 5 Dec 2009 19:45:42 +0000 (19:45 +0000)] 
remove unused variables, minor cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoremove -I on nonexistent directory
Paul Cornett [Sat, 5 Dec 2009 19:29:06 +0000 (19:29 +0000)] 
remove -I on nonexistent directory

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoremove unnecessary DoGetBestSize
Paul Cornett [Sat, 5 Dec 2009 19:26:39 +0000 (19:26 +0000)] 
remove unnecessary DoGetBestSize

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agosimplify Enable()
Paul Cornett [Sat, 5 Dec 2009 19:25:04 +0000 (19:25 +0000)] 
simplify Enable()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdded samples/dll for showing how to use wxWidgets to implement
Václav Slavík [Sat, 5 Dec 2009 18:54:40 +0000 (18:54 +0000)] 
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).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoImplement wxNativeContainerWindow::IsShown() for MSW.
Vadim Zeitlin [Sat, 5 Dec 2009 17:31:07 +0000 (17:31 +0000)] 
Implement wxNativeContainerWindow::IsShown() for MSW.

Simply use native ::IsWindowVisible() for IsShown() implementation.

Closes #11503.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd support for MSW unique volume names to wxFileName.
Vadim Zeitlin [Sat, 5 Dec 2009 17:31:00 +0000 (17:31 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDon't lock global mutex when deleting wxThread to avoid deadlocks.
Vadim Zeitlin [Sat, 5 Dec 2009 17:30:53 +0000 (17:30 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDon't crash in wxActiveXContainer if FindConnectionPoint() failed.
Vadim Zeitlin [Sat, 5 Dec 2009 14:25:53 +0000 (14:25 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDocumented that wxCriticalSection can be used before wxInitialize(), as a global...
Václav Slavík [Sat, 5 Dec 2009 09:05:45 +0000 (09:05 +0000)] 
Documented that wxCriticalSection can be used before wxInitialize(), as a global object.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix wxLogChain (and wxLogWindow deriving from it) broken by wxLog changes.
Vadim Zeitlin [Sat, 5 Dec 2009 01:32:45 +0000 (01:32 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoExit wxPropertyGrid::RecalculateVirtualSize() immediately if it was called before...
Jaakko Salli [Thu, 3 Dec 2009 18:19:31 +0000 (18:19 +0000)] 
Exit wxPropertyGrid::RecalculateVirtualSize() immediately if it was called before the grid state was initialized.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoHandle the rare case where wxPropertyGrid::HandleCustomEditorEvent() may receive...
Jaakko Salli [Thu, 3 Dec 2009 18:08:24 +0000 (18:08 +0000)] 
Handle the rare case where wxPropertyGrid::HandleCustomEditorEvent() may receive event before the grid state has been initialized.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agomake access for virtuals match base
Paul Cornett [Thu, 3 Dec 2009 17:20:15 +0000 (17:20 +0000)] 
make access for virtuals match base

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoSuppress errors from static bitmap page of widgets sample.
Vadim Zeitlin [Thu, 3 Dec 2009 16:26:25 +0000 (16:26 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDon't assert if the path is not absolute in wxFileDialog::SetPath().
Vadim Zeitlin [Thu, 3 Dec 2009 16:26:15 +0000 (16:26 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agomake array data fully const
Paul Cornett [Wed, 2 Dec 2009 17:28:45 +0000 (17:28 +0000)] 
make array data fully const

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agouse const_cast where appropriate
Paul Cornett [Wed, 2 Dec 2009 17:27:17 +0000 (17:27 +0000)] 
use const_cast where appropriate

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agocheck for self assignment in operator=
Paul Cornett [Wed, 2 Dec 2009 16:36:50 +0000 (16:36 +0000)] 
check for self assignment in operator=

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoCompilation fix after r62754.
Vadim Zeitlin [Wed, 2 Dec 2009 13:27:17 +0000 (13:27 +0000)] 
Compilation fix after r62754.

Don't pass second argument to wxPizza::New() any more in wxStaticBox.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoRemoved hard-coded timer Id in wxAUI for the transparent hint fade functionality...
Bryan Petty [Wed, 2 Dec 2009 00:57:56 +0000 (00:57 +0000)] 
Removed hard-coded timer Id in wxAUI for the transparent hint fade functionality. (fixes #11435)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoForward-port of r62758 (Added wxHtmlEasyPrinting name accessor and modifier).
Bryan Petty [Tue, 1 Dec 2009 20:23:29 +0000 (20:23 +0000)] 
Forward-port of r62758 (Added wxHtmlEasyPrinting name accessor and modifier).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoremove m_backing_window member, to keep people from trying to use it
Paul Cornett [Tue, 1 Dec 2009 17:16:28 +0000 (17:16 +0000)] 
remove m_backing_window member, to keep people from trying to use it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoAdd wxOSX_10_6_AND_LATER macro and use it.
Vadim Zeitlin [Tue, 1 Dec 2009 16:47:33 +0000 (16:47 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoremove unused data member
Paul Cornett [Tue, 1 Dec 2009 16:23:48 +0000 (16:23 +0000)] 
remove unused data member

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDefine _CRT_NONSTDC_NO_WARNINGS to suppress MSVC warning in libtiff.
Vadim Zeitlin [Tue, 1 Dec 2009 00:43:15 +0000 (00:43 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoDefine _CRT_SECURE_NO_WARNINGS when building 3rd party libs with MSVC.
Vadim Zeitlin [Tue, 1 Dec 2009 00:42:19 +0000 (00:42 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agousing 64bit APIs, closes #10184
Stefan Csomor [Mon, 30 Nov 2009 17:47:37 +0000 (17:47 +0000)] 
using 64bit APIs, closes #10184

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agopartially revert changes of r58531 as wxCollapsiblePane currently doesn't work with...
Francesco Montorsi [Mon, 30 Nov 2009 13:17:06 +0000 (13:17 +0000)] 
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

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoorderBack puts it behind all windows in its level, including in other apps, so use...
Kevin Ollivier [Mon, 30 Nov 2009 01:08:04 +0000 (01:08 +0000)] 
orderBack puts it behind all windows in its level, including in other apps, so use orderFront instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix compilation of image sample with wxUSE_LIBPNG==0.
Vadim Zeitlin [Mon, 30 Nov 2009 00:30:15 +0000 (00:30 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFix compilation in wxUSE_STL==1 case broken by r62738.
Vadim Zeitlin [Mon, 30 Nov 2009 00:30:08 +0000 (00:30 +0000)] 
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoMake sure we setup the base's Show state correctly and send a show event.
Kevin Ollivier [Sun, 29 Nov 2009 21:46:15 +0000 (21:46 +0000)] 
Make sure we setup the base's Show state correctly and send a show event.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

14 years agoFixed regression: forgot to set wxPropertyGridPageState::m_anyModified to false in...
Jaakko Salli [Sun, 29 Nov 2009 09:42:45 +0000 (09:42 +0000)] 
Fixed regression: forgot to set wxPropertyGridPageState::m_anyModified to false in wxPropertyGridInterface::ClearModifiedStatus().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775