Commit Graph

16513 Commits

Author SHA1 Message Date
Robin Dunn
fced50667d Don't deselect all others when SelectItem is called on a treectrl with
wxTR_MULTIPLE style


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 23:07:06 +00:00
Robin Dunn
8028be3a32 For consistency with the other ports don't send an event when a radio
button is deselected in response to another in the same group being
selected.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 23:05:04 +00:00
Vadim Zeitlin
a84f66ef20 test for TB_SETBUTTONINFO instead of _WIN32_IE in wxToolBar::FindToolForPosition(), this fixes crash with older compilers/DSK headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 21:28:29 +00:00
Stefan Csomor
67f28607c8 guard against erases during tlw window destruction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 17:49:18 +00:00
Włodzimierz Skiba
91af089567 Second part of '[ 1216148 ] cleanup: unused variables and declarations'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 14:49:36 +00:00
Włodzimierz Skiba
8fbe65e96d Second part of '[ 1216148 ] cleanup: unused variables and declarations'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 14:37:40 +00:00
Włodzimierz Skiba
963ad140d0 Second part of '[ 1216148 ] cleanup: unused variables and declarations'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 14:32:16 +00:00
Vadim Zeitlin
ec4b529041 define MIM_STYLE and MNS_CHECKORBMP for mingw32 which doesn't have them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 13:56:45 +00:00
Stefan Csomor
69fb857a20 xcode 2.1 support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 23:40:02 +00:00
Vadim Zeitlin
3a6b0a3e5d don't use WINVER for tests, work around bug in VC6 headers in another way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 20:20:07 +00:00
Vadim Zeitlin
39dcd5151a don't draw edge around the bitmap for pseudo owner-drawn items, this doesn't look well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 20:15:48 +00:00
Vadim Zeitlin
783e2cc648 InsertMenuItem() works with bitmaps under Win98 too (not only ME)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 20:13:48 +00:00
Vadim Zeitlin
6f94aa869d don't test for WINVER inside the library, we do all the tests at run-time, not compile-time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 20:09:58 +00:00
Włodzimierz Skiba
ed7fdb8606 First part of '[ 1216148 ] cleanup: unused variables and declarations'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 19:16:15 +00:00
Włodzimierz Skiba
48f7ffbe93 First part of '[ 1216148 ] cleanup: unused variables and declarations'.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 19:01:45 +00:00
Vadim Zeitlin
9ba4b498e3 VC6 (harmless) warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 18:55:49 +00:00
Włodzimierz Skiba
b0c5cd0ff3 Reuse wxTempFile and wxFile in wxConcatFiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 18:46:10 +00:00
Vadim Zeitlin
cb9eed05d6 use InsertMenuItem() for more native support of bitmaps in menu items when available (fixes bug 1211907)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 18:30:26 +00:00
Vadim Zeitlin
810ca88256 support not-quite-owner-drawn mode when we draw only the bitmap and the system takes care of the rest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 18:28:48 +00:00
Vadim Zeitlin
338026503b don't create (and leak) wxLogStderr in wxEntryReal(), we now create wxLogBuffer in DoCommonPreInit()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 18:24:23 +00:00
Włodzimierz Skiba
688e04b18f wxPalmOS build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 16:21:25 +00:00
Vadim Zeitlin
4c5da5e42d added wxGetWinVersion()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 13:29:43 +00:00
Włodzimierz Skiba
642c0eda2f Missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:52:17 +00:00
Vadim Zeitlin
24ca04e7aa fix for fixing of escape sequences (patch 1213416)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:17:33 +00:00
Włodzimierz Skiba
34af753dd3 Missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:11:30 +00:00
Vadim Zeitlin
9d03b4eee2 use stderr in wxMessageOutputBest::Printf() even under Windows if it's available (patch 1216159)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:06:44 +00:00
Vadim Zeitlin
a23bbe9364 don't do anything in wxLogBuffer::Flush() if there are no messages (patch 1216159)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:05:40 +00:00
Włodzimierz Skiba
a20599da89 Missing include.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 10:08:45 +00:00
Stefan Csomor
169d1d643c support mac on little endian systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 03:56:07 +00:00
Stefan Csomor
02becaf4b2 support mac on little endian systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 03:32:28 +00:00
Vadim Zeitlin
8c18c674f5 generate an error message when a module initialization fails, otherwise it's impossible to know why the program failed to start up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 23:38:01 +00:00
Vadim Zeitlin
1c7b2f0199 use wxLogBuffer to ensure that we don't lose error messages during initialization; only switch to wxLogGui when it's really safe to use it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 23:36:53 +00:00
Vadim Zeitlin
d3fc175515 added wxLogBuffer which collects all log messages in a string buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 23:35:40 +00:00
Vadim Zeitlin
e12a951e75 added wxMessageOutputBest which tries to show the message to the user in the best possible way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 23:34:24 +00:00
Vadim Zeitlin
d0822e56c6 don't crash if FormatMessage() fails in wxSysErrorMsg()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 22:05:16 +00:00
Włodzimierz Skiba
902725eefe Source cleaning inspired by and included in patch '[ 1215450 ] cleanup: unreachable code.'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 16:47:04 +00:00
Vadim Zeitlin
bd86627171 check for Unicode being used under Win9x much earlier on startup as otherwise the app crashes before getting to this check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 00:03:00 +00:00
Robin Dunn
a625d9490d DeleteEntry should SetDirty when any entry is removed, not just the
last one in the group.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-04 17:45:20 +00:00
Julian Smart
80ff6e5d12 Fix for older version of VC7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 20:58:18 +00:00
Julian Smart
b195b4fab8 Missing header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 17:27:43 +00:00
Vadim Zeitlin
140954fd9c hide the cell editor if the grid loses focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 11:38:16 +00:00
Julian Smart
ed56a258b1 Reverted last two changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 10:16:50 +00:00
Julian Smart
27d2f680a7 Moved allocation of m_imData or key down gives seg fault
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 09:49:29 +00:00
Vadim Zeitlin
7b1c346952 removed duplicate wx/msw/debughlp.h include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 09:14:06 +00:00
Julian Smart
418cf02e34 Applied patch [ 1207162 ] wxTextCtrl::SetStyle fix for overlapping calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 08:17:57 +00:00
Julian Smart
dcd5c3d048 Applied patch [ 1213066 ] correct device names for Joystick in Linux
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 08:06:29 +00:00
Julian Smart
86828e0f9f Applied patch [ 1213290 ] incorrect logic in wxTopLevelWindowMSW::ShowFullScreen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 08:01:39 +00:00
Julian Smart
96339a78f2 Assert fixes [ 1212949 ] Fix some asserts in wxMediaCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 07:55:35 +00:00
Julian Smart
424d08955c Compile fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 07:53:49 +00:00
Michael Wetherell
594588aa22 Work around mingw/cygwin bug 1046059
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 07:47:57 +00:00