Commit Graph

47772 Commits

Author SHA1 Message Date
Jaakko Salli
8c61a9ea94 Added wxComboPopup::GetComboCtrl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 15:13:29 +00:00
Francesco Montorsi
1f2f732921 remove wxAppConsoleBase::OInitGui and leave it only in wxApp[Base] class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 14:42:35 +00:00
Jaakko Salli
1fc5f38353 Fixed documentation of wxComboPopup::m_combo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 08:51:11 +00:00
Vadim Zeitlin
efce878a2a add public wxLog::Log() to avoid ugly casts needed in order to call DoLog() from derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-22 00:46:25 +00:00
Paul Cornett
cf92f48759 fix the restore of the fix of r58979
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 20:56:39 +00:00
Vadim Zeitlin
9d04caf8b5 restore changes of r58979 accidentally overwritten by r59023
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 20:37:30 +00:00
Paul Cornett
fd1dc2a7e6 fix event table base for wxListMainWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 20:30:57 +00:00
Paul Cornett
b04237742c check for self-assignment in operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 18:08:40 +00:00
Paul Cornett
50de831a51 non-pch build fixes, some cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 18:08:19 +00:00
Paul Cornett
a645ea885d fix for missing sighandler_t
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 17:13:56 +00:00
Václav Slavík
131fc12022 added asserts to check correct order of wxHtmlDCRenderer methods calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 16:43:22 +00:00
Francesco Montorsi
8b93348e82 fix a few typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 15:40:15 +00:00
Stefan Neis
f0838d63f3 Added wxSingleInstanceChecker for OS/2 (patch #10491).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 13:52:20 +00:00
Vadim Zeitlin
d2eb1696ce only update stc.h when USE_STC==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-21 13:40:41 +00:00
Francesco Montorsi
9425b04cfd fix a couple of drawing defects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 16:38:48 +00:00
Francesco Montorsi
c1b8f155dc show wxMutexGuiEnter/Leave by drawing into a bitmap from a secondary thread; show the result while it's being created by a MyImageDialog dialog; small cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 16:07:50 +00:00
Francesco Montorsi
8bf30d0f8b remove MyExecThread: wxExecute can't be called from secondary threads since a long time; give the user the possibility to change the command to run from the main thread and provide sensible defaults for wxMSW and non-wxMSW platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 13:51:00 +00:00
Francesco Montorsi
ff8151c16e minor cleaning: use %p instead of 0x%lx; clear in the menu name which is the thread which is stopped/paused/resumed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 12:45:04 +00:00
Francesco Montorsi
122cf17b13 use %p when logging the thread IDs instead of %lu to make it easier to debug multithreaded programs when using GDB (which uses the %p syntax)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 12:40:30 +00:00
Francesco Montorsi
1e8af825e1 implement wxThreadEvent safe copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 12:02:09 +00:00
Francesco Montorsi
3186fa9107 no real change; just reorder the sample putting all declarations together and all implementations together; move frame construction code in MyFrame ctor; add some comment about TEST_YIELD_RACE_CONDITIONsymbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 11:56:43 +00:00
Francesco Montorsi
3c99e2fd1b recategorize many misplaced classes; move lots of classes from miscellaneous [window] category to more specific categories; add the 'Book controls' and the 'Application and system configuration' class groups
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 11:34:52 +00:00
Paul Cornett
7e08bc5acd fix for HP aCC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-20 06:48:26 +00:00
Francesco Montorsi
33957ef519 wxCHECK that there is an active event loop before using wxEventLoopBase::GetActive() pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 23:45:23 +00:00
Francesco Montorsi
22d17afa80 mention wxThreadEvent in wxEVT_CATEGORY_THREAD and in wxEvtHandler::QueueEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 22:48:43 +00:00
Vadim Zeitlin
335a0bc339 fix Windows compilation after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 21:30:05 +00:00
Francesco Montorsi
9f54c829ed don't leak events in wxEvtHandler::QueueEvent when there's no event loop
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 20:57:47 +00:00
Robert Roebling
a1abd1a923 Make wxImageList not copiable (fixes #10503), replace wxList with wxObjectList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 20:26:00 +00:00
Robert Roebling
668674c1e2 If a selected item is about to be deleted, try to select the next one first, otherwise the parent, like the wxMSW does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 20:18:53 +00:00
Paul Cornett
b2231d4d0b add braces around if-body
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 17:45:34 +00:00
Paul Cornett
a907139aa3 remove old hacks for gtk blit problem which was probably fixed long ago
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 17:45:09 +00:00
Paul Cornett
32bb5309eb remove unnecessary cast, that type should match
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 17:44:49 +00:00
Paul Cornett
ce7c8a9751 better fix for aCC and rawbmp.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 17:28:37 +00:00
Vadim Zeitlin
04b2ab1a0c compilation fix for systems without neither MSG_NOSIGNAL nor SO_NOSIGPIPE (such as AIX and old HP-UX): disable SIGPIPE manually in this case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 14:17:21 +00:00
Vadim Zeitlin
f6a25e0866 another AIX compilation fix: getservbyname_r() returns int, not servent* there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 14:01:26 +00:00
Paul Cornett
d9b22b06d3 avoid setting negative size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 07:37:57 +00:00
Paul Cornett
58d439cf5a unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-19 07:37:32 +00:00
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