Commit Graph

47885 Commits

Author SHA1 Message Date
Paul Cornett
817d2e9b9b remove unused gtk includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 07:37:12 +00:00
Paul Cornett
7c562ad9aa check for self-assignment in operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 07:36:27 +00:00
Paul Cornett
69cc4323fd remove extra semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 07:35:55 +00:00
Paul Cornett
8a614483c3 fix for HP aCC, it can't compile rawbmp.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 05:34:48 +00:00
Paul Cornett
be4674271d fix for IBM xlC 8, it can't parse the template syntax
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 05:34:25 +00:00
Paul Cornett
8d3166e8ac fix for IBM xlC 8, it can't compile Clone() if wxDataFormat is not defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 05:34:03 +00:00
Paul Cornett
e8f9c7d1b0 fix for IBM and HP compilers, which don't allow ->* operator with undefined class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 05:33:38 +00:00
Vadim Zeitlin
58cccb3b44 AIX compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 01:03:27 +00:00
Robert Roebling
60433f3f82 Uncomment code accidentally left commented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 21:21:19 +00:00
Robert Roebling
30b8043911 Don't use default size of control has a sizer (as per other ports)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 21:20:04 +00:00
Francesco Montorsi
3a5677401f name wxThreadEvent and YieldFor in wxProgressDialog and in thread overview; update the sample code to use new event macros; minor other changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 19:32:00 +00:00
Paul Cornett
c4021a7920 use bool expression rather than implicit conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 18:02:53 +00:00
Francesco Montorsi
3051a44a73 make distinction between classes which send events (use @beginEventEmissionTable for them) from event classes (use @beginEventTable for them); add event tables for wxWindow, wxFrame, wxTopLevelWindow, wxApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 17:58:51 +00:00
Paul Cornett
f8f7cff436 remove unused wxKeyEvent member m_scanCode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 17:15:40 +00:00
Jaakko Salli
d42b86211a Under wxGTK, always use wxPopupTransientWindow as the popup window, even if UseAltPopupWindow() has been called. Do this because, of all popup window types, only wxPopupTransientWindow is able to have focused child controls when the popup is shown in wxGTK modal dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 16:16:24 +00:00
Francesco Montorsi
29ad2740ff remove comment erroneously committed in r58654
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 15:33:08 +00:00
Francesco Montorsi
ee32a48d95 fix typo: the leave/enter order for the m_handlersWithPendingEventsLocker critical section was flipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 15:14:41 +00:00
Francesco Montorsi
35d3edcd53 make the testcase more readable; add a few checks to Asterisk() test; make unicode part of S() test compile with MSVC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 14:57:42 +00:00
Francesco Montorsi
5b5939956d fix typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 11:30:19 +00:00
Francesco Montorsi
6ad6ba217a test if CXXFLAGS/CFLAGS contains the -g or the -O options before adding our -g and -O2 flags: this avoids duplicates in the GCC command line which just generate confusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 11:05:38 +00:00
Francesco Montorsi
de0573dabb do not exceed the 80 column limit when printing the list of available libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 10:42:19 +00:00
Francesco Montorsi
d270fef3e8 fix wxGTK1 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 10:32:21 +00:00
Paul Cornett
5079735ca0 build fixes for wxUSE_THREADS==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 04:06:46 +00:00
Bryan Petty
830b7aa7b2 Fix manual references to the events overview after it's page ID was changed in r58712 (VZ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-18 00:19:22 +00:00
Bryan Petty
cb2996e2ce Fixed the logo image output in the manual after (obviously untested) image filename changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 22:06:45 +00:00
Jaakko Salli
110d27b332 Have wxComboCtrl respect parent's wxTAB_TRAVERSAL flag; Also cleaned up key event redirecting code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 20:52:16 +00:00
Jaakko Salli
df6007a555 Also redirect wxEVT_KEY_UP and wxEVT_CHAR from the embedded wxTextCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 20:19:29 +00:00
Robert Roebling
89c33c4831 Corrected meaning of parameter col as the position not ID in wxLisrCtrl::InsertColumn() under OSX/Carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 18:46:24 +00:00
Jaakko Salli
d85635c5d8 Improved documentation for GetProperty(), GetPropertyByName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 18:36:35 +00:00
Jaakko Salli
0c35994d50 Test for m_pPropGrid in wxPropertyGridPageState::DoClear()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 18:07:33 +00:00
Jaakko Salli
8dee26e107 Clear grid selection more consistently prior clear operations; improved Clear() tests (fixes #10497)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 18:01:06 +00:00
Bryan Petty
2250d25c06 Updated version numbers tech note with new doxygen manual locations to update, and updated the main page of the manual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 17:47:44 +00:00
Vadim Zeitlin
b5f3d8e934 don't skip the event in wxGridCellEditorEvtHandler::OnKillFocus() to fix crashes which happen if the control receiving this event gets deleted from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 16:43:10 +00:00
Jouk Jansen
6918257d40 add wx/log.h for non-PCH build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 13:07:58 +00:00
Vadim Zeitlin
c496d8fa88 suppress unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 12:01:07 +00:00
Robert Roebling
f965a844db Blind implementation of YieldFor() for OSX/Cocoa, copied from OSX/Carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 11:30:50 +00:00
Robert Roebling
9e5754bebd Blind implementation of GetSubItemRect() for wxListCtrl under carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 11:24:19 +00:00
Francesco Montorsi
103339b01e fixed test failures under wxMSW when using our wxVsnprintf implementation (remains 1 bug introduced by the wx29 string changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 11:11:50 +00:00
Francesco Montorsi
6ceb7a2f36 revert debugging modifications and build into test.exe all non-GUI tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 10:42:53 +00:00
Francesco Montorsi
13a6b8e650 give credit to the author of the patch for adding wxImage options for PNG saving
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 10:26:07 +00:00
Vadim Zeitlin
2ec94d6b96 add missing stdcall to fix crash when using state image lists after r58572
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 09:57:10 +00:00
Vadim Zeitlin
a10c8e43d0 add event.Skip() in EVT_CONTEXT_MENU handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 09:53:19 +00:00
Paul Cornett
6089c4c8e8 fix deferred show when SetSize() is called after SetClientSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-17 03:32:40 +00:00
Francesco Montorsi
6fd068fcf1 don't consider EOF an unrecoverable error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 21:14:12 +00:00
Paul Cornett
bcf79477d1 non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 17:22:02 +00:00
Paul Cornett
1e04d2bf54 fix evtloop.h header dependency
implementation headers go first to catch this kind of problem, don't move them to fix a build error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 17:19:17 +00:00
Stefan Csomor
3f63d14108 adding new defines for OSX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 10:55:48 +00:00
Stefan Csomor
2d14a14c57 make OSX defines to be 1, not only defined, for backwards compatibility reasons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 10:36:59 +00:00
Stefan Csomor
3352145758 fixing typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 10:29:58 +00:00
Chris Elliott
0e74b31c33 .svn not CVS files should be skipped
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 10:09:55 +00:00