]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
15 years agoUse gtk_range_set_value() to set scrollbar and do that after SetVirtualSize() since...
Robert Roebling [Wed, 4 Feb 2009 21:28:00 +0000 (21:28 +0000)] 
Use gtk_range_set_value() to set scrollbar and do that after SetVirtualSize() since the latter can shrink the legal range and gtk_range_set_value() checks for that. It also sends out a value_changed signal which will scroll the window

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

15 years agouse WXDLLIMPEXP_FWD_BASE instead of WXDLLIMPEXP_BASE in friend declaration
Vadim Zeitlin [Wed, 4 Feb 2009 21:27:33 +0000 (21:27 +0000)] 
use WXDLLIMPEXP_FWD_BASE instead of WXDLLIMPEXP_BASE in friend declaration

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

15 years agoanother compilation fix to switch in DoYield()
Vadim Zeitlin [Wed, 4 Feb 2009 21:25:00 +0000 (21:25 +0000)] 
another compilation fix to switch in DoYield()

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

15 years agofix no-PCH builds for wxMac
Francesco Montorsi [Wed, 4 Feb 2009 21:17:02 +0000 (21:17 +0000)] 
fix no-PCH builds for wxMac

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

15 years agoUse wxRound() instead of (int)(my_double + 0.5);
Robert Roebling [Wed, 4 Feb 2009 21:12:16 +0000 (21:12 +0000)] 
Use wxRound() instead of (int)(my_double + 0.5);

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

15 years agocompilation fixes to DoYield() after latest changes
Vadim Zeitlin [Wed, 4 Feb 2009 20:36:20 +0000 (20:36 +0000)] 
compilation fixes to DoYield() after latest changes

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

15 years agoadd a wxEventType argument to wxThreadEvent for coherency with other event classes...
Francesco Montorsi [Wed, 4 Feb 2009 19:44:55 +0000 (19:44 +0000)] 
add a wxEventType argument to wxThreadEvent for coherency with other event classes; rewrite its Clone() function

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

15 years agouse WXDLLIMPEXP_CORE, not WXDLLIMPEXP_BASE for wxThreadEvent
Francesco Montorsi [Wed, 4 Feb 2009 19:25:09 +0000 (19:25 +0000)] 
use WXDLLIMPEXP_CORE, not WXDLLIMPEXP_BASE for wxThreadEvent

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

15 years agofix wxThreadEvent linking in shared builds
Francesco Montorsi [Wed, 4 Feb 2009 18:35:18 +0000 (18:35 +0000)] 
fix wxThreadEvent linking in shared builds

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

15 years agoupdate to the latest version of the patch at #10320 the wxApp::DoYield implementation
Francesco Montorsi [Wed, 4 Feb 2009 18:02:03 +0000 (18:02 +0000)] 
update to the latest version of the patch at #10320 the wxApp::DoYield implementation

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

15 years agoAdded useful comment to a code sample snippet
Jaakko Salli [Wed, 4 Feb 2009 17:54:31 +0000 (17:54 +0000)] 
Added useful comment to a code sample snippet

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

15 years agofix the new wxThreadEvent class adopting the new type-safe conventions for event...
Francesco Montorsi [Wed, 4 Feb 2009 17:49:22 +0000 (17:49 +0000)] 
fix the new wxThreadEvent class adopting the new type-safe conventions for event classes

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

15 years agocheck in the 'selective yield' patch (see ticket #10320):
Francesco Montorsi [Wed, 4 Feb 2009 17:42:28 +0000 (17:42 +0000)] 
check in the 'selective yield' patch (see ticket #10320):
- implements YieldFor() with event filtering for wxMSW and wxGTK,
  adds TODO markers in other ports;
- replaces wxYield() in GTK's clipboard code with a wxTheApp->YieldFor() call, thus fixing possible reentrancies
(and modifies clipboard sample to test synchronous IsSupported calls)
- replaces wxYieldIfNeeded() calls in wxProgressDialog with wxTheApp->YieldFor() calls, so that it processes only
UI/user-input events, thus fixing the race condition visible in the "thread" sample
- documents the new functions

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

15 years agoin debug mode when clicking with the middle mouse button draw borders around all...
Francesco Montorsi [Wed, 4 Feb 2009 16:55:28 +0000 (16:55 +0000)] 
in debug mode when clicking with the middle mouse button draw borders around all windows, not only those with a sizer; use different pen colours to distinguish among sizers, spacers and windows.

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

15 years agodocument new wxBLUE_PEN object; add some more details for standard object instances...
Francesco Montorsi [Wed, 4 Feb 2009 16:49:32 +0000 (16:49 +0000)] 
document new wxBLUE_PEN object; add some more details for standard object instances; cosmetic fixes

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

15 years agoAdded proper COW to wxPGChoices, moved wxPGChoices code from propgrid.cpp to property...
Jaakko Salli [Wed, 4 Feb 2009 16:45:23 +0000 (16:45 +0000)] 
Added proper COW to wxPGChoices, moved wxPGChoices code from propgrid.cpp to property.cpp (to match header organization), removed some now-unneeded helper functions

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

15 years agoadd standard wxBLUE_PEN for coherency with the colours available for standard brushes
Francesco Montorsi [Wed, 4 Feb 2009 16:30:27 +0000 (16:30 +0000)] 
add standard wxBLUE_PEN for coherency with the colours available for standard brushes

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

15 years agofix MSVC warning about implicit int to bool conversion
Vadim Zeitlin [Wed, 4 Feb 2009 14:40:47 +0000 (14:40 +0000)] 
fix MSVC warning about implicit int to bool conversion

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

15 years agoupdate list of classes supported by wxGenericValidator
Francesco Montorsi [Wed, 4 Feb 2009 12:41:43 +0000 (12:41 +0000)] 
update list of classes supported by wxGenericValidator

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

15 years agorestore the default bitmap icons size to 16*15, making them larger if necessary is...
Vadim Zeitlin [Wed, 4 Feb 2009 12:19:45 +0000 (12:19 +0000)] 
restore the default bitmap icons size to 16*15, making them larger if necessary is enough and doesn't result in having ugly 16*16 bitmaps in a 24*24 button rectangle

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

15 years agocompilation fixes for wxMSW/Univ
Vadim Zeitlin [Wed, 4 Feb 2009 10:07:58 +0000 (10:07 +0000)] 
compilation fixes for wxMSW/Univ

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

15 years agomove generic animation sources to ADVANCED_MSW_NATIVE_SRC/HDR from ADVANCED_MSW_SRC...
Vadim Zeitlin [Wed, 4 Feb 2009 10:02:48 +0000 (10:02 +0000)] 
move generic animation sources to ADVANCED_MSW_NATIVE_SRC/HDR from ADVANCED_MSW_SRC/HDR to avoid having duplicated entries in wxMSW/Univ build

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

15 years agoadded back compatibility headers (apparently svn can't do move+add in a single commit)
Vadim Zeitlin [Wed, 4 Feb 2009 08:06:42 +0000 (08:06 +0000)] 
added back compatibility headers (apparently svn can't do move+add in a single commit)

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

15 years agorevert last commit, it re-introduces the first problem
Paul Cornett [Wed, 4 Feb 2009 08:01:58 +0000 (08:01 +0000)] 
revert last commit, it re-introduces the first problem

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

15 years agofix bug introduced in last commit, contents not scrolling when selecting treectrl...
Paul Cornett [Wed, 4 Feb 2009 07:15:03 +0000 (07:15 +0000)] 
fix bug introduced in last commit, contents not scrolling when selecting treectrl elements with up/down arrow keys

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

15 years agoRe-add support for multiple text validator styles but
Francesco Montorsi [Tue, 3 Feb 2009 21:21:47 +0000 (21:21 +0000)] 
Re-add support for multiple text validator styles but
1) catch some invalid configurations in SetStyle()
2) document the order of the checks in wxTextValidator
3) implement wxFILTER_EMPTY
4) rename wxFILTER_SIMPLE_NUMBER => wxFILTER_DIGITS

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

15 years agoadded wxPersistentRegisterAndRestore() function to work around VC6 brokenness in...
Vadim Zeitlin [Tue, 3 Feb 2009 12:02:20 +0000 (12:02 +0000)] 
added wxPersistentRegisterAndRestore() function to work around VC6 brokenness in debug DLL build

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

15 years agorenamed wx/ptr_shrd.h to wx/sharedptr.h; split wx/ptr_scpd.h in wx/scopedptr.h and...
Vadim Zeitlin [Tue, 3 Feb 2009 12:01:46 +0000 (12:01 +0000)] 
renamed wx/ptr_shrd.h to wx/sharedptr.h; split wx/ptr_scpd.h in wx/scopedptr.h and wx/scopedarray.h; extracted common parts into new wx/checkeddelete.h

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

15 years agoAdd space all around std buttons as per Apple HIG (and as the comment in the code...
Robert Roebling [Tue, 3 Feb 2009 10:42:34 +0000 (10:42 +0000)] 
Add space all around std buttons as per Apple HIG (and as the comment in the code says but the code didn't do)

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

15 years agoAlso report events from wxCollapsiblePane's label
Robert Roebling [Tue, 3 Feb 2009 09:53:33 +0000 (09:53 +0000)] 
Also report events from wxCollapsiblePane's label

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

15 years agoRemoved accidentally committed debug code
Robert Roebling [Tue, 3 Feb 2009 08:51:25 +0000 (08:51 +0000)] 
Removed accidentally committed debug code

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

15 years agowork around VC6 ICE in DLL build
Vadim Zeitlin [Mon, 2 Feb 2009 21:44:36 +0000 (21:44 +0000)] 
work around VC6 ICE in DLL build

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

15 years agocompilation fix for template Connect()
Vadim Zeitlin [Mon, 2 Feb 2009 21:40:53 +0000 (21:40 +0000)] 
compilation fix for template Connect()

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

15 years agouse explicit this-> with non-dependent names (compilation fix for standard-conforming...
Vadim Zeitlin [Mon, 2 Feb 2009 21:09:08 +0000 (21:09 +0000)] 
use explicit this-> with non-dependent names (compilation fix for standard-conforming compilers such as g++ 4)

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

15 years agouse wxCommandEventHandler instead of manually writing several casts
Vadim Zeitlin [Mon, 2 Feb 2009 20:46:33 +0000 (20:46 +0000)] 
use wxCommandEventHandler instead of manually writing several casts

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

15 years agoChanges to template Connect() to make it compile with MSVC7 and possible other
Vadim Zeitlin [Mon, 2 Feb 2009 20:38:56 +0000 (20:38 +0000)] 
Changes to template Connect() to make it compile with MSVC7 and possible other
not quite up-to-date compilers, to reduce repetitions and to allow using
methods of non-wxEvtHandler-derived classes as event callbacks:

1. Don't rely on compiler ability to deduce template parameter from the type
   of a parameter of a function used as another template parameter, at least
   MSVC7 can't do this and it's probably not the only one.
2. Do rely on compiler support for partial specialization to make
   wxEventFunctorMethod compile for non-wxEvtHandler-derived handlers while
   still keeping the old functionality for the wxEvtHandler-derived ones.
3. Don't make any difference between functions and functors, both are callable
   objects so use them as such, this allows to fold code for both cases.
4. Avoid the use of dynamic_cast<>.
5. Several naming changes:
 a) wxTypedEventType -> wxEventTypeTag (because this is what it is)
 b) Subscribe/Unsubscribe -> DoConnect/Disconnect (to follow the usual
    convention of public Foo calling private DoFoo and to avoid using up
    another name)
 c) Derived -> ObjClass (because it's not clear what does Derived mean)
6. Extend the unit test to cover more cases.

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

15 years agoInvalidate only the specified rectangle
Robert Roebling [Mon, 2 Feb 2009 14:05:46 +0000 (14:05 +0000)] 
Invalidate only the specified rectangle

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

15 years agoThe recent change to ::Refresh() (strangely) fails to invalidate e.g. a wxTreeCtrl...
Robert Roebling [Mon, 2 Feb 2009 14:02:50 +0000 (14:02 +0000)] 
The recent change to ::Refresh() (strangely) fails to invalidate e.g. a wxTreeCtrl in a wxDialog, revert the relevant part

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

15 years agocompilation fix for new event types (this shouldn't be necessary but do it to tempora...
Vadim Zeitlin [Mon, 2 Feb 2009 12:38:17 +0000 (12:38 +0000)] 
compilation fix for new event types (this shouldn't be necessary but do it to temporarily fix the build)

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

15 years agodon't always disable new events code; leave it enabled for MSVC8+
Vadim Zeitlin [Mon, 2 Feb 2009 11:39:48 +0000 (11:39 +0000)] 
don't always disable new events code; leave it enabled for MSVC8+

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

15 years agoand a third fix from http://trac.wxwidgets.org/ticket/10457 fix
Chris Elliott [Mon, 2 Feb 2009 08:36:01 +0000 (08:36 +0000)] 
and a third fix from http://trac.wxwidgets.org/ticket/10457 fix

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

15 years agoMake wxCheckListBox call event.SetString() on all platforms, not just wxMSW. Mention...
Robert Roebling [Sun, 1 Feb 2009 23:43:59 +0000 (23:43 +0000)] 
Make wxCheckListBox call event.SetString() on all platforms, not just wxMSW. Mention again, that wxCommandEvent::IsChecked() cannot be used for it.

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

15 years agomove evthandler.cpp to non-GUI test as it doesn't require the GUI
Vadim Zeitlin [Sun, 1 Feb 2009 23:20:27 +0000 (23:20 +0000)] 
move evthandler.cpp to non-GUI test as it doesn't require the GUI

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

15 years agotest that the connected event handler is really called; some naming changes
Vadim Zeitlin [Sun, 1 Feb 2009 23:19:45 +0000 (23:19 +0000)] 
test that the connected event handler is really called; some naming changes

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

15 years agoremove WXDLLIMPEXP_BASE from template classes to fix linking of code using new events...
Vadim Zeitlin [Sun, 1 Feb 2009 23:05:55 +0000 (23:05 +0000)] 
remove WXDLLIMPEXP_BASE from template classes to fix linking of code using new events in DLL build using MSVC9

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

15 years agodisable warning about using deprecated wxStripExtension() for MSVC
Vadim Zeitlin [Sun, 1 Feb 2009 22:20:59 +0000 (22:20 +0000)] 
disable warning about using deprecated wxStripExtension() for MSVC

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

15 years agoadd a unit test for new events (see #10000)
Vadim Zeitlin [Sun, 1 Feb 2009 22:12:12 +0000 (22:12 +0000)] 
add a unit test for new events (see #10000)

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

15 years agono real changes, just add some comments
Vadim Zeitlin [Sun, 1 Feb 2009 22:10:52 +0000 (22:10 +0000)] 
no real changes, just add some comments

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

15 years agoThe check column needs more space
Robert Roebling [Sun, 1 Feb 2009 21:33:43 +0000 (21:33 +0000)] 
The check column needs more space

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

15 years agoEnable the correct code making sure that subwindows will always receive a wxSizeEvent...
Robert Roebling [Sun, 1 Feb 2009 21:33:07 +0000 (21:33 +0000)] 
Enable the correct code making sure that subwindows will always receive a wxSizeEvent and can then relayout themselves

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

15 years agoemphasize that you need to specify eventSink when connecting to a different object...
Vadim Zeitlin [Sun, 1 Feb 2009 21:15:50 +0000 (21:15 +0000)] 
emphasize that you need to specify eventSink when connecting to a different object method

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

15 years agoblind fix for wxMac
Francesco Montorsi [Sun, 1 Feb 2009 20:59:03 +0000 (20:59 +0000)] 
blind fix for wxMac

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

15 years agodocument as typedefs the various wxArray* classes so that doxygen links them and...
Francesco Montorsi [Sun, 1 Feb 2009 20:34:13 +0000 (20:34 +0000)] 
document as typedefs the various wxArray* classes so that doxygen links them and it's easier to visit wxArray<T> docs

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

15 years agoremove implementations from interface headers
Francesco Montorsi [Sun, 1 Feb 2009 19:56:06 +0000 (19:56 +0000)] 
remove implementations from interface headers

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

15 years agofix a couple of typos
Francesco Montorsi [Sun, 1 Feb 2009 19:34:05 +0000 (19:34 +0000)] 
fix a couple of typos

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

15 years agoadd the abicheck.sh script for checking possible ABI violations
Francesco Montorsi [Sun, 1 Feb 2009 17:17:58 +0000 (17:17 +0000)] 
add the abicheck.sh script for checking possible ABI violations

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

15 years agoadd GetControlWidget() accessor to the generic wxCollapsiblePane
Francesco Montorsi [Sun, 1 Feb 2009 16:26:38 +0000 (16:26 +0000)] 
add GetControlWidget() accessor to the generic wxCollapsiblePane

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

15 years agocorrect the tests for the window position to actually the display offset into account...
Vadim Zeitlin [Sun, 1 Feb 2009 16:18:29 +0000 (16:18 +0000)] 
correct the tests for the window position to actually the display offset into account (#10462)

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

15 years agosecond http://trac.wxwidgets.org/ticket/10457 fix
Chris Elliott [Sun, 1 Feb 2009 15:31:14 +0000 (15:31 +0000)] 
second http://trac.wxwidgets.org/ticket/10457 fix

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

15 years agoadd uint/long/ulong overloads of operator* and operator/ to avoid problems with ambig...
Francesco Montorsi [Sun, 1 Feb 2009 14:16:20 +0000 (14:16 +0000)] 
add uint/long/ulong overloads of operator* and operator/ to avoid problems with ambiguos overloads in wxSize

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

15 years agouse appropriate casts to fix warnings about double=>int conversions
Francesco Montorsi [Sun, 1 Feb 2009 13:45:17 +0000 (13:45 +0000)] 
use appropriate casts to fix warnings about double=>int conversions

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

15 years agoRemoved extraneous semicolon (partly fixes #10456).
Stefan Neis [Sun, 1 Feb 2009 13:14:30 +0000 (13:14 +0000)] 
Removed extraneous semicolon (partly fixes #10456).

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

15 years agoanother wxUSE_DRAG_AND_DROP==0 compilation fix
Vadim Zeitlin [Sun, 1 Feb 2009 12:51:33 +0000 (12:51 +0000)] 
another wxUSE_DRAG_AND_DROP==0 compilation fix

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

15 years agoposition the popup on the correct screen (see #10462)
Vadim Zeitlin [Sun, 1 Feb 2009 12:42:49 +0000 (12:42 +0000)] 
position the popup on the correct screen (see #10462)

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

15 years agoset standard properties
Vadim Zeitlin [Sun, 1 Feb 2009 12:32:29 +0000 (12:32 +0000)] 
set standard properties

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

15 years agocheck for m_parentMenu being NULL in IsChecked/Checked/Enable() too (closes #10460)
Vadim Zeitlin [Sun, 1 Feb 2009 12:30:27 +0000 (12:30 +0000)] 
check for m_parentMenu being NULL in IsChecked/Checked/Enable() too (closes #10460)

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

15 years agofix a typo in comment
Francesco Montorsi [Sun, 1 Feb 2009 12:06:15 +0000 (12:06 +0000)] 
fix a typo in comment

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

15 years agoUse wxToolBar::SetToolBitmapSize() to setup tool bitmap size to match stock bitmaps
Jaakko Salli [Sun, 1 Feb 2009 11:18:53 +0000 (11:18 +0000)] 
Use wxToolBar::SetToolBitmapSize() to setup tool bitmap size to match stock bitmaps

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

15 years agoavoid warning
Stefan Csomor [Sun, 1 Feb 2009 09:17:20 +0000 (09:17 +0000)] 
avoid warning

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

15 years agofixing utf32 native conversion
Stefan Csomor [Sun, 1 Feb 2009 09:08:02 +0000 (09:08 +0000)] 
fixing utf32 native conversion

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

15 years agosimplify Refresh() and Update()
Paul Cornett [Sun, 1 Feb 2009 07:52:39 +0000 (07:52 +0000)] 
simplify Refresh() and Update()

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

15 years agoadding explicit log.h include
Stefan Csomor [Sun, 1 Feb 2009 06:25:32 +0000 (06:25 +0000)] 
adding explicit log.h include

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

15 years agofix drawing from Update() being overwritten, fixes wxBusyInfo not drawing properly...
Paul Cornett [Sun, 1 Feb 2009 06:20:54 +0000 (06:20 +0000)] 
fix drawing from Update() being overwritten, fixes wxBusyInfo not drawing properly without wxYield

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

15 years agoFixed compilation error on OS/2 (strnlen declaration was not visible).
Stefan Neis [Sun, 1 Feb 2009 06:08:56 +0000 (06:08 +0000)] 
Fixed compilation error on OS/2 (strnlen declaration was not visible).

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

15 years agoadding the GetEventHandler() indirection
Stefan Csomor [Sun, 1 Feb 2009 05:54:10 +0000 (05:54 +0000)] 
adding the GetEventHandler() indirection

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

15 years agoadding explicit log.h include
Stefan Csomor [Sun, 1 Feb 2009 05:38:03 +0000 (05:38 +0000)] 
adding explicit log.h include

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

15 years agoRemoved extraneous semicolons and commas (partly fixes #10456).
Stefan Neis [Sun, 1 Feb 2009 04:48:19 +0000 (04:48 +0000)] 
Removed extraneous semicolons and commas (partly fixes #10456).

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

15 years agoallow calling SetItemLabel() for menu items with NULL menu parent too
Vadim Zeitlin [Sat, 31 Jan 2009 23:16:55 +0000 (23:16 +0000)] 
allow calling SetItemLabel() for menu items with NULL menu parent too

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

15 years agolog error message in wxRmdir() for consistency with wxMkdir() and some code cleanup...
Vadim Zeitlin [Sat, 31 Jan 2009 22:56:02 +0000 (22:56 +0000)] 
log error message in wxRmdir() for consistency with wxMkdir() and some code cleanup (e.g. get rid of gly OS_FILENAME macro) (closes #10435)

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

15 years agodocument FindChildItem() (closes #10455)
Vadim Zeitlin [Sat, 31 Jan 2009 22:51:37 +0000 (22:51 +0000)] 
document FindChildItem() (closes #10455)

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

15 years agoattempt to fix DLL samples link with VC6 which has trouble instantiating template...
Vadim Zeitlin [Sat, 31 Jan 2009 22:47:28 +0000 (22:47 +0000)] 
attempt to fix DLL samples link with VC6 which has trouble instantiating template methods of dll-exported classes apparently

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

15 years agoallow calling SetItemLabel() for items not attached to the menu or menu bar yet ...
Vadim Zeitlin [Sat, 31 Jan 2009 22:46:43 +0000 (22:46 +0000)] 
allow calling SetItemLabel() for items not attached to the menu or menu bar yet (comment 9 of #10452)

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

15 years agoadd SetCharIncludes and SetCharExcludes utilities to wxTextValidator; use iterators...
Francesco Montorsi [Sat, 31 Jan 2009 22:41:51 +0000 (22:41 +0000)] 
add SetCharIncludes and SetCharExcludes utilities to wxTextValidator; use iterators when scanning wxStrings; fix typo in ContainsExcludedCharacters (reversed return values); modify the sample to show wxTextValidator with wxFILTER_EXCLUDE_CHAR_LIST

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

15 years agoload ImageList_Copy() dynamically to allow wx apps to start up under Win95 (state...
Vadim Zeitlin [Sat, 31 Jan 2009 21:54:11 +0000 (21:54 +0000)] 
load ImageList_Copy() dynamically to allow wx apps to start up under Win95 (state image display in wxTreeCtrl still won't work though)

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

15 years agocorrections after last commit, (see #10452 comment:6)
Vadim Zeitlin [Sat, 31 Jan 2009 21:53:03 +0000 (21:53 +0000)] 
corrections after last commit, (see #10452 comment:6)

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

15 years agobetter docs for wxValidator::SetWindow and Validate
Francesco Montorsi [Sat, 31 Jan 2009 21:28:24 +0000 (21:28 +0000)] 
better docs for wxValidator::SetWindow and Validate

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

15 years agogive better names to wxTextValidator::IsInCharIncludes and to wxTextValidator::IsNotI...
Francesco Montorsi [Sat, 31 Jan 2009 21:27:27 +0000 (21:27 +0000)] 
give better names to wxTextValidator::IsInCharIncludes and to wxTextValidator::IsNotInCharExcludes; add wxFILTER_SIMPLE_NUMBER style; remove specialized global helpers used by wxTextValidator in favour of wxStringCheck templated calls; better document the wxFILTER_* styles which use ctype standard functions

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

15 years agoa few typo-fix and cosmetic changes to wxFlexGridSizer docs
Francesco Montorsi [Sat, 31 Jan 2009 21:23:43 +0000 (21:23 +0000)] 
a few typo-fix and cosmetic changes to wxFlexGridSizer docs

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

15 years agoadd operator* taking doubles to wxSize
Francesco Montorsi [Sat, 31 Jan 2009 21:22:37 +0000 (21:22 +0000)] 
add operator* taking doubles to wxSize

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

15 years agoadd an example of a custom wxValidator-derived class; cleanup a bit the dialog layout
Francesco Montorsi [Sat, 31 Jan 2009 21:21:08 +0000 (21:21 +0000)] 
add an example of a custom wxValidator-derived class; cleanup a bit the dialog layout

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

15 years agoadd wxStringCheck templated utility function
Francesco Montorsi [Sat, 31 Jan 2009 21:19:37 +0000 (21:19 +0000)] 
add wxStringCheck templated utility function

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

15 years agofix warnings about conversion between DWORD and pointers in MSLU=1 build
Vadim Zeitlin [Sat, 31 Jan 2009 21:15:10 +0000 (21:15 +0000)] 
fix warnings about conversion between DWORD and pointers in MSLU=1 build

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

15 years agoForgot to commit
Robert Roebling [Sat, 31 Jan 2009 21:12:32 +0000 (21:12 +0000)] 
Forgot to commit

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

15 years agodefine MIIM_BITMAP &c in wx/msw/missing.h instead of msw/menu.cpp as menuitem.cpp...
Vadim Zeitlin [Sat, 31 Jan 2009 20:52:44 +0000 (20:52 +0000)] 
define MIIM_BITMAP &c in wx/msw/missing.h instead of msw/menu.cpp as menuitem.cpp now needs them too

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

15 years agofix typo; document wxFlexSizerGrowMode
Francesco Montorsi [Sat, 31 Jan 2009 20:10:13 +0000 (20:10 +0000)] 
fix typo; document wxFlexSizerGrowMode

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

15 years agoDisable wxSIZE_FORCE_EVENT and demonstrate its bug in the wxCollapsiblePane sample
Robert Roebling [Sat, 31 Jan 2009 19:15:25 +0000 (19:15 +0000)] 
Disable wxSIZE_FORCE_EVENT and demonstrate its bug in the wxCollapsiblePane sample

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

15 years agoremove extra line breaks which prevents Doxygen from numbering list items correctly...
Vadim Zeitlin [Sat, 31 Jan 2009 18:28:04 +0000 (18:28 +0000)] 
remove extra line breaks which prevents Doxygen from numbering list items correctly (closes #10459)

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

15 years agouse margin width after updating it in OnMeasureItem() (see #10452)
Vadim Zeitlin [Sat, 31 Jan 2009 18:20:58 +0000 (18:20 +0000)] 
use margin width after updating it in OnMeasureItem() (see #10452)

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

15 years agodon't use built-in support for menu bitmaps if they are too big, they don't come...
Vadim Zeitlin [Sat, 31 Jan 2009 18:12:14 +0000 (18:12 +0000)] 
don't use built-in support for menu bitmaps if they are too big, they don't come out correctly then (see #10452)

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

15 years agouse SetMenuItemInfo() to update the item label to avoid reseting its bitmap and so...
Vadim Zeitlin [Sat, 31 Jan 2009 17:51:02 +0000 (17:51 +0000)] 
use SetMenuItemInfo() to update the item label to avoid reseting its bitmap and so use the same code for the desktop and CE versions (see #10452)

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