Commit Graph

30031 Commits

Author SHA1 Message Date
Stefan Csomor
8f7eeefcba correcting condition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 20:18:11 +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
79e7089470 define wxUSE_UNICODE before including wx/chkconf.h which uses it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 18:29:41 +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
Vadim Zeitlin
be2572a325 wxGetWinVersion() must be exported from base DLL, not core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 16:55:08 +00:00
Vadim Zeitlin
3cbb739d3d forgot to export wxGetWinVersion() from DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 16:45:06 +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
820a7a1b22 silently ignore wxUSE_UNICODE_MSLU in non-Unicode builds (see also rev 1.106 of wx/chkconf.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:28:31 +00:00
Vadim Zeitlin
24fec90857 added tests of more URLs in URITestCase::URLCompat()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:19:28 +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
97cffad594 use pragma warning push/pop under MSVC instead of enabling temporarily disabled warnings unconditionally (patch 1207689)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:10:48 +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
Stefan Csomor
080c6eeca7 support mac on little endian systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 03:25:23 +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
Robin Dunn
cd39c77a7b Put back this icon, it's needed by the windows installer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 21:39:01 +00:00
Michael Wetherell
a9e5b1f04b Dependency tracking for Sun CC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 19:34:32 +00:00
Michael Wetherell
508c5a0908 Compilation fix for Cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 19:23:11 +00:00
Vadim Zeitlin
acf9e35536 updates from Rosetta
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 18:54:13 +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
3554a468bf update from Hakki Dogusan
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 12:16:50 +00:00
Vadim Zeitlin
f3886d3710 DECLARE_DYNAMIC_CLASS() requires a default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 11:52:24 +00:00
Vadim Zeitlin
36a22fa34c removed check for wxUSE_UNICODE==1 if wxUSE_UNICODE_MSLU==1 as it makes it impossible to set wxUSE_UNICODE_MSLU to 1 in global wx/setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-06 00:05:56 +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
Michael Wetherell
72d29cf03b Compilation fix for Cygwin, it doesn't have digitalv.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-05 19:16:28 +00:00
Robin Dunn
a432a02b4e Build and distrib changes and etc. for 2.6.1.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-05 04:51:51 +00:00
Michael Wetherell
ee45c548e6 Detect Apple bug that prevents the joystick code compiling for OS X 10.1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-04 17:45:24 +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
Robin Dunn
14fe087a0c Typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-03 23:59:17 +00:00
Robin Dunn
48a60f223d reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-03 22:07:32 +00:00
Robin Dunn
3a9becbd54 Use the wx.ART_NORMAL_FILE icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-03 21:39:04 +00:00
Robin Dunn
afa172bd19 Ignore HtmlHelpController.Destroy() since it owns itself, to avoid
double deletions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-03 21:38:01 +00:00