Commit Graph

4667 Commits

Author SHA1 Message Date
Vadim Zeitlin
e4f0e73d60 at least not crash in case of TIFF warnings/errors in Unicode build (but we still don't show them correctly neither)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-24 12:29:22 +00:00
Vadim Zeitlin
85272533a2 use wxVLogWarning in TIFFwxWarningHandler() instead of wxLogWarning (bug 1226815)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-24 12:22:30 +00:00
Václav Slavík
96d38c7e0d rolled back exceptions handling patch, it relied on incorrect assumption about vtables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-21 09:56:18 +00:00
Václav Slavík
924b84ab94 changed exceptions handling to work under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 08:20:50 +00:00
Vadim Zeitlin
41cc03ddff reimplemented wxFileModificationTime() for CE without using wxDateTime (it also should be more efficient like this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 23:50:11 +00:00
Vadim Zeitlin
f166217789 don't assert if kind == Item_None in wxSizerItem::IsShown(), this can happen during windows destruction (bug 1216428)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 21:46:20 +00:00
Vadim Zeitlin
83250f1a2b don't show wxLogDebug during app startup output in msg box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 11:45:25 +00:00
Włodzimierz Skiba
fd725bce37 Patch #1222244: Fixes for bug #1212853 with unit test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 11:29:55 +00:00
Dimitri Schoolwerth
3c832d589d added Thai/CP874 support for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 14:16:50 +00:00
Vadim Zeitlin
858cab30be WinCE compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-15 22:04:53 +00:00
Włodzimierz Skiba
d0ee33f5c6 '[1219035] cleanup: miscellaneous' and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-13 12:19:33 +00:00
Włodzimierz Skiba
532d575bd9 Allow MSW Base be usable in other ports than wxMSW (ie. wxTVision in windows console). Adjustements for limited setup.h (as in wxTV) and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 17:53:19 +00:00
Michael Wetherell
abc736fd0e Declare gtk_icon_size_lookup if it is missing from the GTK+ headers (Bug 1177079)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-10 12:04:15 +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
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
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
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
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
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
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
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
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
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
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
Robin Dunn
388186f7e1 Compile fix for when wxUSE_STACKWALKER == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 02:38:07 +00:00
Robin Dunn
6d6a27b234 Fixed compile error on non-MSW platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-02 02:31:22 +00:00
Vadim Zeitlin
d15b1f8509 renamed wxEVT_SCROLL_ENDSCROLL to wxEVT_SCROLL_CHANGED
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 23:19:02 +00:00
Vadim Zeitlin
4a92d4bc8d don't try to show stack trace in assert msg box unless it's available (replaces patch 1212925, fixes bug 1212147)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-01 22:38:40 +00:00
Julian Smart
3103e8a97e Typo correction patch [ 1208110 ] Lots of typo corrections
Olly Betts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Robin Dunn
7351db919a Blind fix for bug #1209944, wxFileConfig constructor corrupts the stack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-30 18:50:26 +00:00
Julian Smart
619be6d0eb WinCE doesn't declare DeleteFile at the point wxRemove is defined,
so put it in implementation file.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-30 13:50:23 +00:00
Julian Smart
f05ba7ff38 Applied patch to fix silly filenames in CreateTempFileName
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-30 08:30:43 +00:00
Robin Dunn
406011a83d Some tweaks to the temporary art images, added wxART_NEW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-26 19:15:45 +00:00
Robin Dunn
d00016f53f delete_ --> delete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-25 18:01:57 +00:00
Michael Wetherell
8df9a8a047 No wxGetOSFHandle for Wine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-25 16:05:22 +00:00
Vadim Zeitlin
c0bb586f50 if we return GetSize() from DoGetBestSize(), remember it as min size as well to prevent out best size from changing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-25 12:40:53 +00:00
Robin Dunn
ec6803d965 Some placeholder images to use until we get those that are being
professionally done.  These fill out most of the art IDs that don't
currently have images in the standard provider.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-24 20:52:12 +00:00
Vadim Zeitlin
11bfe4bfdc allow SQLDriverConnect() to open the dialog asking the user for additional info by passing it a (potentially) non NULL HWND (patch 1092583)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-22 22:57:15 +00:00