Commit Graph

16523 Commits

Author SHA1 Message Date
Julian Smart
a374cdc43e Need to set background colour for wxListBox, not just wxCheckListBox,
to avoid scrolling problem when Windows effects are switched on.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 08:39:19 +00:00
Vadim Zeitlin
492b6f0a6f another compilation fix for wxUSE_MIMETYPE==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 21:52:20 +00:00
Vadim Zeitlin
f6becba596 always set flat toolbar style, even under XP with themes: this is necessary or separators aren't shown at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 20:18:29 +00:00
Vadim Zeitlin
9f7e1cff95 don't statically link to SetMenuInfo(): it is not present in Win95/NT4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 20:13:20 +00:00
Vadim Zeitlin
f78d506b88 added explicit casts for (varagr) TIFFSetField() parameters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 19:39:36 +00:00
Vadim Zeitlin
ca1b8c1169 (blind) compilation fix for wxUSE_UXTHEME==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 19:36:20 +00:00
Julian Smart
08dd04d082 Worked around problem with kill focus event being sent as soon as
the combobox is focused, on Windows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 14:49:54 +00:00
Julian Smart
67bfb37744 Temporary fix for checklistbox refresh problem; setting the
background to a solid colour avoids incorrect paint code related to
notebook parent


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 12:31:38 +00:00
Julian Smart
69ffc7b206 Allow native font specification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-09 09:37:28 +00:00
Stefan Csomor
d9d488cf1b UniChar being platform endian
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-08 23:34:05 +00:00
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