Commit Graph

30729 Commits

Author SHA1 Message Date
Vadim Zeitlin
48962b9fdd reverted last change with setting the focus only if we hadn't had it, this breaks under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 10:19:53 +00:00
Vadim Zeitlin
4686e0f659 added mouse wheel event test; don't trap left mouse clicks in MyCanvas as this makes it impossible to give focus to the window and so to use mouse wheel in it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 10:16:57 +00:00
Vadim Zeitlin
3c29734862 position of wxEVT_MOUSEWHEEL events is now in client, not screen, coordinates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 10:14:36 +00:00
Vadim Zeitlin
b0c4316ebd check the validity of wxString pointer itself too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-20 18:32:57 +00:00
Vadim Zeitlin
e1f2de5ab3 check that wxString is valid before dumping it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-20 15:32:07 +00:00
Vadim Zeitlin
b903802e08 fixed assert when dumping a string which is locked for writing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-20 14:39:29 +00:00
Vadim Zeitlin
14ddc4d7eb update from Liou Xiao (accelerator key format changed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-20 13:41:48 +00:00
Vadim Zeitlin
2bb3c0c0dd take the address of the member in wxON_BLOCK_EXIT_OBJ macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-20 13:30:28 +00:00
Vadim Zeitlin
3c58949394 regenerated to include scope guard test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-20 13:29:15 +00:00
Vadim Zeitlin
94a5c401ac tooltips work under Mac as well; no need for wxUSE_TOOLTIP (especially spellt incorrectly)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-20 10:23:05 +00:00
Julian Smart
228146b082 Make sure text part of combobox is enabled/disabled too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-19 19:55:03 +00:00
Włodzimierz Skiba
056e68bb42 Updated info after recent PODS 1.2 release.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-19 19:08:59 +00:00
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
822fc19ef0 wxScopeGuard adjustements for Open Watcom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-18 13:46:29 +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
c447205527 wxABI_VERSION >= 20601 for wxLaunchDefaultBrowser
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-18 11:17:03 +00:00
Michael Wetherell
0f8218d7ca Add wxABI_VERSION > 20601 wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-17 13:00:11 +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
Michael Wetherell
8df1373abc Add wxXmlResource changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-17 12:54:37 +00:00
Michael Wetherell
45a9a13763 Make wxABI_VERSION default be e.g. 20699
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-17 12:50:29 +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
7ae74029b8 put GetEscapeId() inside #if wxABI_VERSION > 20601
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-16 22:52:34 +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
Václav Slavík
62d5b1ceb7 removed 2.6.1 symbols from 2.6.2 tag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-16 21:39:51 +00:00
Michael Wetherell
36b6059076 Compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-16 12:28:08 +00:00
Michael Wetherell
e304942c65 Set wxABI_VERSION default value to e.g. 29999 so that new APIs can be wrapped
in before the version number is bumped in cvs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-16 12:12:30 +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
Vadim Zeitlin
a393585a1e added a test of a crash inside wxEVT_PAINT handler (this is a problem as it happens multiple times...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 22:54:51 +00:00
Vadim Zeitlin
874c5c9521 rewrote sample to have a more conventional structure (in preparation for further changes...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 21:05:48 +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
Roman Rolinsky
5758b2468e new version ready
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 09:58:03 +00:00
Roman Rolinsky
64b9ac7523 StdDialogButtonSizer menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-15 09:51:40 +00:00
Vadim Zeitlin
c18f141ad0 added wxDialog::GetEscapeId()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 23:33:38 +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
Vadim Zeitlin
2b4f7fbc9f added stub of GetEscapeId()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 23:07:10 +00:00
Vadim Zeitlin
dadacffc74 added wxID_NONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 23:06:02 +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