Commit Graph

7915 Commits

Author SHA1 Message Date
Włodzimierz Skiba
66e9a9f0ae [1231183] 'cleanup: mismatched indentation' and other cleanings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 16:56:26 +00:00
Włodzimierz Skiba
b63269cabe Re-adding setup0.h for OpenWatcom makefile build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-22 13:31:06 +00:00
Włodzimierz Skiba
7121be53c7 eVC3 compatibility workaround.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 17:44:06 +00:00
Włodzimierz Skiba
7e1e696511 wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 17:18:43 +00:00
Włodzimierz Skiba
0872eaf957 wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-21 17:08:28 +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
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
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
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
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
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
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
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
Vadim Zeitlin
0a64bfdfd0 fixed warning due to not using dllexport wxShadowObjectFields/Methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-14 15:14:04 +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
Vadim Zeitlin
cd900c5961 commented and documented wxXRC_NO_RELOADING flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-13 16:30:11 +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
Vadim Zeitlin
c9f00f2fce wxVariant is in wxBase so should be forward declared using WXDLLIMPEXP_BASE and not WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 21:36:25 +00:00
Włodzimierz Skiba
20bc5ad8dd Global platform header (<PalmOS.h>) removed from public wx-headers (but included in wxprec.h) with all consequences in wxPalmOS specific API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 19:36:58 +00:00
Vadim Zeitlin
6c99cd3d8c fixed bug with HasGroup() creating groups as side effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 18:05:10 +00:00
Włodzimierz Skiba
0c0d1521c0 Helpers in disabling warnings for unused params.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 13:39:03 +00:00
Włodzimierz Skiba
7bea7b9148 Helpers in disabling warnings for unused params.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-30 15:31:20 +00:00
Michael Wetherell
29cc18e9a3 Put wxEVT_SCROLL_CHANGED and wxEVT_SCROLL_ENDSCROLL inside
#if wxABI_VERSION >= 20601
        ...
    #endif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-30 01:05:16 +00:00
Michael Wetherell
67d124f620 Add wxABI_VERSION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-30 00:58:28 +00:00
Michael Wetherell
0751433414 Make wxEVT_SCROLL_ENDSCROLL a #define in event.h so that new applications
won't depend on it, and so will be compatible with 2.6.1 libs. But still
define and export it in event.cpp so that 2.6.0 apps will be able to use
2.6.1.1 libs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-30 00:52:05 +00:00
Michael Wetherell
8b5d41cc51 Add HANGUL_CHARSET for vc++ 5, and move a couple of others that were already
in there for DMC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-29 01:34:43 +00:00
Robert Roebling
619f45aa8a Added wxShadowObject for imitating a VMT with
virtual functions without changing the C++
   interface etc. of the class.
  Added test to it to the dynamic sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-26 15:48:02 +00:00
Robert Roebling
4871079576 Revert Ron's removal of the reserved functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-26 15:46:12 +00:00
Stefan Neis
93599ac045 Possibly to allow including both os2/private.h and GUI's private.h for
X11 based builds on OS/2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-26 13:25:39 +00:00
Vadim Zeitlin
d008a4a6bb readded wxEVT_SCROLL_ENDSCROLL symbol back to the library to fix (inadvertent) backwards binary compatibility breakage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-25 12:19:03 +00:00
Ron Lee
847379b00c Put a humane end to the pathetic flailing over whether this can
work or not.  It obviously never can if you understand the rules
for binary compatibility of a userspace library and the mechanisms
to manage it -- no matter how clever we get in the future.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-24 16:44:20 +00:00
Michael Wetherell
7275146d4d Unrevert Cygwin changes after discussion. Cygwin will be unix with the new
version of bakefile, but allow wxMSW to stay a Windows build until there is
a unix version of it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-22 20:58:47 +00:00
Mattia Barbon
688bdfe9d1 Avoid warnings with MSVC 5.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-21 20:16:03 +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
6c3c55cf30 define SetHelpText() to do nothing when wxUSE_HELP==0, otherwise we'd need to #ifdef all its calls in wx code to allow compilation with wxUSE_HELP==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-20 00:25:06 +00:00
Vadim Zeitlin
ffbc1990d1 disable warning for eVC 4 (_MSC_VER == 1201) as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 23:49:27 +00:00
Vadim Zeitlin
0cdd4e199e added AutoHANDLE class to close a HANDLE automatically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 23:48:43 +00:00
Mattia Barbon
7360894949 Fix crash on exit with Lesstif (and possibly Motif 1.x).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 19:11:21 +00:00
David Elliott
070b7b8510 Set m_cocoaDataSource = NULL in default constructor so subclasses that
don't call our Create function (e.g. wxCheckListBox) don't crash on destruction.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-18 03:39:46 +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
17e22c50bf Open Watcom adjustement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 11:08:32 +00:00
Włodzimierz Skiba
03de0ad439 Adjust to different platform headers distributed with DMC (build fix after recent change in msw/treectrl.cpp).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 10:34:49 +00:00
Vadim Zeitlin
426a63a3a2 fixed wxON_BLOCK_EXIT macros to work with new definition of wxMAKE_UNIQUE_NAME() (was broken for VC++...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 23:43:19 +00:00
Julian Smart
50779e0648 Applied patch [ 1215991 ] Mac xrc enables unknown class
Implements Reparent for Mac


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 18:03:43 +00:00