Commit Graph

47579 Commits

Author SHA1 Message Date
Vadim Zeitlin
7d15ffcdb9 make dtor public to fix VC6 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 09:28:15 +00:00
Vadim Zeitlin
deb8254ef2 use bitmap mask if any in splash screen (closes )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 09:16:50 +00:00
Francesco Montorsi
197ab43d72 some more SetIcon() calls added; cleanup indentation of some samples
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 01:20:35 +00:00
Francesco Montorsi
41f02b9acc always call SetIcon() on the main frame of the sample; some small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 01:01:00 +00:00
Francesco Montorsi
27721528c4 merge wxEditableListBox sample in widgets sample (it was a 60-lines sample of a single control showing limited features)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 00:47:04 +00:00
Vadim Zeitlin
ab13878f7b fix other insert() overloads to work when inserting at the end of the list, continuation of r56299 (see )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:46:53 +00:00
Vadim Zeitlin
7b8b72b506 removed wrong check from splice(it, list, first)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:23:49 +00:00
Kevin Ollivier
e2cb366f61 Implement GetDashCount() for Carbon/Cocoa.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:23:18 +00:00
Kevin Ollivier
b916f71245 Add (currently unimplemented) missing wxRegion constructors for wxRegionGeneric.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:20:45 +00:00
Kevin Ollivier
b0b71b31c3 Assert if these methods are triggered to alert the user they are not implemented.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:19:35 +00:00
Francesco Montorsi
6f58b8f45d build wrapsizer sample when wxUSE_GUI==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:19:27 +00:00
Kevin Ollivier
485c6263ac The GL library needs access to this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:17:52 +00:00
Vadim Zeitlin
1416fc5ff6 fix wxList::erase(it, end()) in non-STL build (see )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:10:56 +00:00
Vadim Zeitlin
5bca8be2cf fix (harmless for now) g++ warning about non-virtual dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 23:03:30 +00:00
Francesco Montorsi
cdf03c2292 fix repaint problems when resizing the frame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 22:30:56 +00:00
Vadim Zeitlin
5e14f15d48 yet another wxUSE_DRAG_AND_DROP==0 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 21:46:31 +00:00
Vadim Zeitlin
9820211f11 another attempt to run tests with verbose logging in STL trunk build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 21:44:52 +00:00
Vadim Zeitlin
16be58c140 add semicolons after wxDEFINE_EVENT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 21:04:47 +00:00
Václav Slavík
e5fbeb79c1 wxrc: fix incorrectly generated code with --extra-cpp-code (fixes )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 19:32:05 +00:00
Vadim Zeitlin
9b11752c4f require semicolon after wxDECLARE/DEFINE_EVENT() (closes )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 18:59:25 +00:00
Francesco Montorsi
9df6b3b041 allow the user to set the contents of the status fields
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 17:40:22 +00:00
Vadim Zeitlin
4475b41041 update custom event definition documentation; document wxDEFINE/DECLARE_EVENT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 16:07:59 +00:00
Vadim Zeitlin
579e055907 fix typo in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 15:29:52 +00:00
Vadim Zeitlin
1afe8c8307 rename wxDECLARE_LOCAL_EVENT to just wxDECLARE_EVENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 15:29:29 +00:00
Vadim Zeitlin
3e083d652d update/reorganize events overview and changed links to it to reflect the fact that it speaks about events in general and not just about handling them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 15:22:14 +00:00
Francesco Montorsi
9a6fda2288 do not use preprocessor macros in interface headers; doxygen doesn't know about preprocessor symbols used in the real headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 15:09:48 +00:00
Vadim Zeitlin
71df21e7d3 extract the important overviews in their own section and order them by importance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 14:51:16 +00:00
Stefan Csomor
1e269f30d5 OSX currently doesn't expose an OnPaint anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 14:47:55 +00:00
Francesco Montorsi
51c0d02b65 document the wxWindow::Get/SetLayoutDirection functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 14:42:40 +00:00
Francesco Montorsi
9a6aafe003 no real change: put event handlers together at the end of the file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 14:11:33 +00:00
Jaakko Salli
bcf324bebe Eliminated two unneeded arguments from wxPropertyGrid::DoDrawItems()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 13:38:27 +00:00
Jaakko Salli
94f0292941 Fixed and refactored wxPropertyGridManager decsription text box painting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 13:35:26 +00:00
Stefan Csomor
4dd9fdf827 reworking event handling to redirect to c++ virtual functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 13:25:58 +00:00
Jaakko Salli
58fbf2616f Added workaround for a bug that causes splitters not be drawn correctly if GetUpdateRegion().GetBox() in paint event does not cover the entire grid width
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 13:16:36 +00:00
Stefan Csomor
ad7aff71f5 correct shortcuts on mac, fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 13:07:43 +00:00
Vadim Zeitlin
79cb759dc8 remove incorrect cast of wxString to char* (unnecessary and breaks wxUSE_STL build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 21:55:09 +00:00
Vadim Zeitlin
bb87b19b16 compilation fix for wxEVENTS_COMPATIBILITY_2_8 case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 21:54:09 +00:00
Francesco Montorsi
2efaf75451 fix some typos (return types)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 21:43:31 +00:00
Francesco Montorsi
4fd70f0a8b remove typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 18:43:46 +00:00
Francesco Montorsi
1d4f9810be fix title of the previously-modified section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 18:42:08 +00:00
Vadim Zeitlin
a01ada0599 allow handling events in a function taking the base class of the event class corresponding to the event type and not exactly the event class itself: this is more flexible (while still being safe) and incidentally fixes compatibility issues with existing code using explicit casts to wxObjectEventFunction (see )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 18:33:01 +00:00
Francesco Montorsi
56364fa221 more user-friendly error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 17:03:12 +00:00
Francesco Montorsi
141794f13f mention wxwindow::SetExtraStyle( wxWS_EX_VALIDATE_RECURSIVELY ) in the validator overview; cosmetic changes in the rest of the validator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-06 17:00:47 +00:00
Francesco Montorsi
e64cadcb8b fix LoadPanel() docs (closes )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 18:54:49 +00:00
Francesco Montorsi
c78d8a70f5 document the protected functions of wxTextValidator; it helps user to eventually derive classes from wxTextValidator (closes )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 18:50:43 +00:00
Francesco Montorsi
ae93dddfaf remove mention of wxMutexGuiEnter/leave from the multithreading topic overview; document that wxMutexGuiEnter only works for wxMSW as the code seems to confirm this (see )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 18:24:27 +00:00
Francesco Montorsi
06f89fe437 fix the size of the generated controls using wxDefaultSize instead of manually-specified sizes; use wxDefaultPosition instead of manually-specified sizes: they were disregarded anyhow since we use sizers; fix a tooltip message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 18:02:20 +00:00
Francesco Montorsi
1b942d5f70 add code for debugging sizers/window sizes; it may be very useful for other purposes as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 17:54:17 +00:00
Francesco Montorsi
e12152104f always use wxSTAY_ON_TOP (closes )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 17:46:00 +00:00
Francesco Montorsi
430bdeb55b fix warning about function hiding by using the 'On' prefix for event handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 17:43:45 +00:00