Commit Graph

47775 Commits

Author SHA1 Message Date
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
Robert Roebling
c146c3ae44 Compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 08:56:52 +00:00
Václav Slavík
0fef6b7a5e fully reverted Francesco's removal of copying information (r58913,r58922)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 08:24:23 +00:00
Jouk Jansen
9261e8f17d motif/cursor.cpp: adding include wx/log.h to define wxLogError
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 08:20:47 +00:00
Robert Roebling
140f202726 Compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 08:09:39 +00:00
Francesco Montorsi
faf224da98 put frame creation code all inside MyFrame ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 00:27:52 +00:00
Francesco Montorsi
8d60daa8d3 wxApp::DoYield => wxGUIEventLoop::YieldFor (part of r58911)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 23:18:04 +00:00
Francesco Montorsi
0a949d7896 revert previous commit - but don't include unneeded email headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 23:06:05 +00:00
Stefan Csomor
ec3110ae1a formatting fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 21:22:55 +00:00
Stefan Csomor
7395c7d669 documenting new compositing, layering and antialiasing calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 20:08:41 +00:00
Francesco Montorsi
8bd9fa338e PCH-less build fix by Tim S
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-15 19:34:58 +00:00