Commit Graph

16640 Commits

Author SHA1 Message Date
Kevin Hock
873aefb8b9 QueryValue should use Open(Read) rather than Open [ Bug 1240345 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-18 17:52:23 +00:00
Włodzimierz Skiba
32c0c61cbd Missing wxUSE_* markup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-18 16:58:18 +00:00
David Webster
13aca5dd5d Add upwards recursion to UpdateAccel method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-18 15:27:31 +00:00
Julian Smart
fde0548028 Patch from Andre Reitz to correct a couple of bugs
1. Error when fetching papersize from dev-mode
   somebody changed
        if {...} else if {...} else {...}
   to:  ............. if {...} else {...}

2. Error when getting bin from devmode:
   - no translation to wxPRINTBIN_... constants when getting from devMode->dmDefaultSource
   - but: translation when setting to devMode->dmDefaultSource


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-18 14:39:54 +00:00
Włodzimierz Skiba
78a054f667 Code simplification and warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-18 13:43:42 +00:00
Włodzimierz Skiba
0a13502d18 Comment correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-18 13:39:55 +00:00
Włodzimierz Skiba
b4626104e5 wxMSWUniv build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-18 13:36:31 +00:00
Michael Wetherell
121aea4614 Add test that wxABI_VERSION is not set when compiling the library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-17 12:55:45 +00:00
Kevin Hock
99b62b5ffc Consider native data format, zero out buffer before use in case it doesn't get filled [ patch 1237326 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-17 03:21:46 +00:00
Kevin Hock
e0a3672027 Added null checks to wxTextObjectData::GetDataHere and GetDataSize [ patch 1237326 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-17 03:15:50 +00:00
Vadim Zeitlin
28ea89b62b handle '&' in the names of the files in the history correctly by quoting it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-16 23:10:46 +00:00
Vadim Zeitlin
10b9be3230 fixed a rare crash due to malformed HTML
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-16 22:38:46 +00:00
Vadim Zeitlin
99f0dc6887 fixed handling of the accelerators of menu items added to already attached submenus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-16 22:29:47 +00:00
Robert Roebling
c05cc2c727 Apply patch for querying tooltip colours.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-16 06:59:57 +00:00
Robert Roebling
c4e8770615 Applied GTK clipboard end of string patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-16 06:46:32 +00:00
Vadim Zeitlin
a3dc1da946 check whether there is a critical window and don't process events then (this is needed as sometimes window proc is called directly without passing by wxEventLoop)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 23:01:05 +00:00
Vadim Zeitlin
c707a0d410 use wxEventLoop::SetCriticalWindow() to ensure that we don't get more crashes in the event handlers while the preview dialog is shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 22:59:50 +00:00
Vadim Zeitlin
a7b7500c4f added SetCriticalWindow() and AllowProcessing(): this allows to freeze all events except those for the specified window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 22:57:49 +00:00
Włodzimierz Skiba
b3eb133b51 Possibility of modeless wxWizard dialog (with presentation in sample).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 16:26:11 +00:00
Włodzimierz Skiba
95e92d9049 Missing header after recent changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 14:50:52 +00:00
Vadim Zeitlin
f55fee08e9 moved Esc processing from wxWindow to wxDialog where it belongs; use the -- to be implemented in 2.7 -- GetEscapeId() to decide what to do when Esc is pressed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 23:09:00 +00:00
Mart Raudsepp
8c6785f071 Optimize wxGTK2 wxTextCtrl::GetLineText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 22:11:28 +00:00
Vadim Zeitlin
64c12a6d55 use wxLogError() instead of wxMessageBox in wxDocument::DoOpenDocument(), otherwise the error message don't appear in correct order
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 16:13:19 +00:00
Vadim Zeitlin
b9698194c1 set m_lasterror if the file couldn't be opened in wxFileInputStream ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 16:02:22 +00:00
Vadim Zeitlin
f8be01b1ac fixes for s.Printf(s) crashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 15:37:25 +00:00
Vadim Zeitlin
1872e04240 fix addr2line output parsing (patch 1228591)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 09:14:31 +00:00
Vadim Zeitlin
60fd818a78 added wxXmlResource::Unload() (replaces patch 1178853)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-13 18:01:43 +00:00
Mattia Barbon
cb81f1a6f1 Applied fix for wxCreateTopLevelRealizedWidget crash.
Patch #1231717 by Johan van Zyl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-12 22:05:43 +00:00
Vadim Zeitlin
ac2de323e8 made wxTLW::GetSize() return the size of the maximized frame when called between Maximize() and Show(), not the original size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-09 21:25:30 +00:00
Michael Wetherell
70a7eb078d Correction to previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-08 22:12:36 +00:00
Vadim Zeitlin
06a848bc42 made IsMaximized() return true if frame had been maximized before being shown
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-08 21:16:12 +00:00
Michael Wetherell
6b5e5f4805 Compilation fix for unix builds with cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-08 19:24:36 +00:00
Kevin Hock
7aaaff1c7b Fix zlib buffer overflow vulnerability [ Patch 1234072 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-08 17:52:57 +00:00
Václav Slavík
d9f0e93224 minor clarification of broken build cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-08 10:16:44 +00:00
Vadim Zeitlin
8563c6f18a use private window class for dialup manager hidden window, otherwise wxWindowClass couldn't be unregistered because the wxDialUpManager-created window of this class was still alive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-06 21:59:00 +00:00
Vadim Zeitlin
a1f9a880ab avoid moving the list control unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-06 21:57:21 +00:00
Vadim Zeitlin
9f22b00e34 don't generate ACTIVATE events for Alt-Space key press
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-06 11:25:23 +00:00
Vadim Zeitlin
b3a9e15060 fixed (harmless) assert triggered by renaming the first group in a config file and then deleting it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-05 15:30:36 +00:00
Chris Elliott
70e6f53a4a fix SF Bug 1232271
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-04 15:51:41 +00:00
Włodzimierz Skiba
c4b401b664 Visible wxMessageOutputDebug instance.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-04 11:26:08 +00:00
Włodzimierz Skiba
b4c4f1bca7 Use common wxTextCtrlBase::GetRange() for PalmOS text control implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-04 11:21:46 +00:00
Włodzimierz Skiba
73f507f52d Prevent crash in wxString::Mid under STL builds (fixes #1231725).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-04 11:12:52 +00:00
Mattia Barbon
8c4c354377 Applied patch by Johan van Zyl
[ 1231710 ] wxGrid slow refresh on motif caused by memory leak


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-03 22:34:31 +00:00
Mattia Barbon
fa41b170a3 Applied patch by Johan van Zyl.
[ 1231711 ] Using motif clipboard causes application crash


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-03 22:31:36 +00:00
Vadim Zeitlin
b0268dafc1 fixed DoSetClientSize() to use ::MoveWindow() instead of deferred sizing which never updated the client size we were checking here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-02 22:22:20 +00:00
Vadim Zeitlin
7a19fb6e5f fixed bug with showing unneeded scrollbar in the list control (at least under MSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-02 22:16:12 +00:00
Michael Wetherell
a7b62a3f5a Revert check on wxABI_VERSION since it doesn't work for all compilers
VS: ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-02 19:10:10 +00:00
Vadim Zeitlin
2fb3e528a3 only set focus to the grid window in wxGrid::HideCellEditControl() if it hadn't been switched to another window of our application
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-02 11:22:24 +00:00
Vadim Zeitlin
e0cf37456b added include wx/toolbar.h neededfor mingw32 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-02 11:19:51 +00:00
Vadim Zeitlin
bae3be5d73 really fixed wrong argument to wxString::Format()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 22:01:46 +00:00