Commit Graph

3938 Commits

Author SHA1 Message Date
Vadim Zeitlin
6962f34ea5 ensure that the compatibility defines are not set for wxBase which doesn't need them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 18:18:10 +00:00
Vadim Zeitlin
153b7996e5 fixed dead update splitters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 15:08:27 +00:00
Vadim Zeitlin
74c57d1ff6 fixes to handling of 0 and negative splitter position when splitting it initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 00:48:02 +00:00
Vadim Zeitlin
b8125adfd9 applied a fix for the patch 446325
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 16:19:33 +00:00
Vadim Zeitlin
bff4ec6360 wxCursor(wxImage) added (Chris Elliott, patch 517439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 15:22:58 +00:00
Julian Smart
788519c605 Some more NanoX compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 14:52:04 +00:00
Robin Dunn
ce22d615fe Fix so the Host: header in wxHTTP really works. With virtual hosts it
is vital that the original host name given in the URL is used in the
Host: header so the sever will use the right vhost config.  Previously
it was using the value returned from gethostbyaddr which will often
not be the same as the hostname in the URL.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 00:01:32 +00:00
Julian Smart
c79a329dcb NanoX modificati
NanoX modifications


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 23:19:40 +00:00
Vadim Zeitlin
a8f6ef5190 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 13:52:46 +00:00
Vadim Zeitlin
538f35ccf4 use base 10 by default in wxString::To[U]Long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 13:24:19 +00:00
Robin Dunn
c9468a241b Fix so the value given to wxTextEntryDialog::SetValue will actually be
used in the entry field.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:53:04 +00:00
Vadim Zeitlin
30827629fa fixed mouse input handling in wxUniv: the static boxes ust be transparent
or the windows inside them don't get any mouse events at all


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 01:37:47 +00:00
Vadim Zeitlin
cfa822b8f1 use WS_CLIPSIBLINGS for wxStaticLine as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:25:54 +00:00
Vadim Zeitlin
5b2f31eb30 1. always create the buttons with WS_CLIPSIBLINGS style, this prevetns them
from overwriting each other when the main window is resized
2. more tweaks to MSWGetStyle() and related code, added a new, easier to use,
   version of MSWCreateControl()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 00:02:51 +00:00
Stefan Csomor
761e1e0702 added default style wxFRAME_TOOL_WINDOW to creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-19 10:44:34 +00:00
Robert Roebling
887dd52f06 Added more wxRegion tests to erase sample.
Implemented "clear now, paint later".
  Corrected colour-by-name lookup.
  Corrected DrawRectangle code which produced
    redraw garbage under wxX11.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 22:13:23 +00:00
Václav Slavík
28f5082b32 checked in forgottern parts of MSLU changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 20:38:59 +00:00
David Webster
98edf62696 Use xpmdecod instead of xpmhand.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 04:30:35 +00:00
Václav Slavík
3d5231db07 more MSLU fixes and moved MSLU stuff into separate file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 23:29:25 +00:00
Vadim Zeitlin
0b06ac1f24 compilation fixes after the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:53:41 +00:00
Vadim Zeitlin
c8531822d5 added SetString(), deprecated SetLabel()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:45:08 +00:00
Vadim Zeitlin
b2d5a7ee00 better handling for the style changing during run-time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 22:43:43 +00:00
Robert Roebling
7e4501ee3c wxX11:
Corrected TLW positiong.
    Added experimental code for synthesizing focus events.
    Minor clean-ups.
    Added for-now unused code for default/focus widget.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 21:09:04 +00:00
Julian Smart
e941874b17 Added some Xlib replacement functions and structures for Nano-X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 20:49:14 +00:00
Vadim Zeitlin
bcebad81f1 enable WXWIN_COMPATIBILITY_2_2 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 19:14:22 +00:00
Mattia Barbon
ed8a10f817 Blind fix for Win32 daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 16:07:39 +00:00
Václav Slavík
c331ac2ed7 use generic timer in wxMGL and wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:57:33 +00:00
Václav Slavík
a0cb0ba509 move wxMGL's wxTimer to src/generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:55:41 +00:00
Václav Slavík
1aee06c5b7 cleaned a bit of mess in wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:53:58 +00:00
Vadim Zeitlin
3e58dcb905 various splitter fixes:
1. generate the events from the event handlers, thus it is now possible to
   process the splitter events in the parent window
2. when double clicking the splitter which can't be unsplit it doesn't jump
   by a couple of pixels
3. misc code cleanup


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 21:53:52 +00:00
Stefan Csomor
22385679c4 new bitmap creation code for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 13:37:23 +00:00
Robert Roebling
8ac7c50924 wxX11:
Made timer compile and maybe work.
    Fixed display bug in wxListCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 10:59:55 +00:00
Václav Slavík
ca39e4095a more fixes to wxSplitterWindow's initial sash position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:51:06 +00:00
Václav Slavík
fd94e8aa45 A couple of changes to wxImage:
1. changed wxBMP_foo, wxCUR_foo to wxIMAGE_OPTION_{BMP,CUR}_foo
   (with backward compatiblity macros, of course)
2. applied Chris' patch to update hotspot when scaling an image
3. applied Chris' patch to write a filename in XPM and generalized it
   to pass wxIMAGE_OPTION_FILENAME to all saving handlers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:45:30 +00:00
Václav Slavík
ee1046d1cf don't translate accelerators in XRC menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:41:43 +00:00
Vadim Zeitlin
56d0c5a6a7 made wxDateTimeDefault an object and not a reference to avoid (well, minimize) initialization order problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 16:36:04 +00:00
Vadim Zeitlin
fbfb3fb3c7 AIX compilation fixes from Paul Thiessen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 15:11:06 +00:00
Vadim Zeitlin
5737d05f86 fixed <strings.h> include and also removed the obsolete WXSTRING_IS_WXOBJECT setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 15:06:17 +00:00
Julian Smart
256d631aaf Started some NanoX work (blind to begin with)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 11:14:42 +00:00
Robin Dunn
be90c029fd As per the wx-dev discussion in early Jan, replaced
wxWindow::m_parentSizer with m_containingSizer which is used to track
which sizer this window is a member of.  Windows will now remove
themselves from a sizer when destroyed.  Also added accessors so
window classes can find out if they are in a sizer and do things like
reset their min size, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 23:34:46 +00:00
Robert Roebling
ba696cfadf Updated the erase/paint event logic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:08:45 +00:00
Vadim Zeitlin
2e8cc3e834 fixes to sash adjusting code to avoid setting it to 0 initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:00:41 +00:00
Václav Slavík
52750c2e10 copyright update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:30:34 +00:00
Julian Smart
3a0b23eb74 Added some XSyncs to help size calculations, but positioning
dialog remains a mystery


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 18:06:50 +00:00
Václav Slavík
cebf2fec3d take const reference (thanks to Alberto Barbati)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 17:11:38 +00:00
Vadim Zeitlin
98c9194837 use the native wxImageList under Win32 as otherwise xUniv doesn't link currently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 14:23:35 +00:00
Vadim Zeitlin
071e5fd9e8 #if wxUSE_PALETTE, not #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 13:47:33 +00:00
Julian Smart
45ff6421e6 Removed wxBuffer from several ports; added function to get XEvent name;
started on commandline parsing for wxX11


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 11:07:26 +00:00
Stefan Csomor
318fa6983d added .inited comparison as suggested by John McPherson to avoid comparison wxBlack to wxNullBitmap being true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 09:02:54 +00:00
Václav Slavík
cbe0afe09a added wxUpdateUIEvent handling to wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:36:33 +00:00
Vadim Zeitlin
7183fd726e added wxFSVolume patch from George Policello (untested, unreferenced from the project files yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 21:01:50 +00:00
Julian Smart
61aa560b2d Fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 17:23:13 +00:00
Robert Roebling
0d1dff0172 wxX11:
INtroduced OnInternalIdle as per wxGTK so that users
      cannot as easily lill the internals.
    Fixed pop-up transient window.
    Removed some #if 0 here and there.
    Made refresh code work in idle instead of directly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:43:18 +00:00
Julian Smart
5e29f97a3c Added shared private declarations header privx.h, utils.cpp now shared
between wxMotif and wxX11; added some TODOs to toplevel.cpp, popupwin.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:17:29 +00:00
Robert Roebling
a11672a469 wxX11:
Lots of wxBitmap et al work.
     Adapted wxIcon, wxCursor to this.
     Split wxApp init things up so that the
       X11 display is available sooner.
     Changed initial display code accordingly.
     Corrected wxDC::DrawBitmap.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 08:38:54 +00:00
Julian Smart
7edcafa467 Removed some debug code from window headers; added some debug
code to try to figure out capture problems


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 18:15:20 +00:00
Julian Smart
e5053ade6b Attempts to get client origin working. Work in progress.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-12 12:59:14 +00:00
Václav Slavík
d76ac8ed88 wxSplitterWindow now:
1. respects minimal size even when set programatically
2. respects minimal size of child windows if set


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:48:33 +00:00
Václav Slavík
5229b11d2c rewrote wxHtmlHelpFrame using sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 23:47:43 +00:00
Robert Roebling
3cd0b8c5b5 wxX11:
Updated wxColour for handling Colormaps and ref couting.
    Updated wxClientDC et al. for conforming to wxGTK. Many
      tricky parts, particularly the bitmap drawing and
      blitting is still missing.
    Any sample crashes now for some reason with an X error.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 20:41:24 +00:00
Julian Smart
6ec507fd25 Attempted to add configury for NanoX compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 18:03:47 +00:00
Robert Roebling
1b0b798d77 Various compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 12:04:35 +00:00
Julian Smart
b28d3abf7e Small changes to wxX11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-11 11:06:50 +00:00
Robert Roebling
8354aa92a1 wxX11: link errors down to 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 23:31:24 +00:00
Julian Smart
1246e28fb0 Added wxPopupWindow skeleton (no implementation yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 23:21:44 +00:00
Václav Slavík
e7dda1ffa3 respect minimal wxTLW size in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:08:54 +00:00
Václav Slavík
55e0770e6f added default ctor to wxStaticText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 19:07:40 +00:00
Robert Roebling
d02cb44ecf Killed various wxMotif things in wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 18:04:13 +00:00
Robert Roebling
74dc5eb60e wxX11:
Updated wxPen and wxBrush.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 17:24:14 +00:00
Robert Roebling
1934d291cd wxX11:
Rewrote wxRegion.
     Killed backing store Pixmap.
     Killed wxRectList.
     Adapted wxWindow to the above.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 16:42:42 +00:00
Vadim Zeitlin
c3e44503cf fix for wxUniv/GTK scrolling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 16:09:49 +00:00
David Webster
1b7735e10f Removing OS/2 specific positioning methods, no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 04:33:20 +00:00
Julian Smart
b513212d2e More X11 code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-10 01:03:45 +00:00
Václav Slavík
6d7ee9e860 use AllocExclusive for reference counting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:29:05 +00:00
Václav Slavík
21c3670fec fix for scrollbar's thumb update bug in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-09 23:27:52 +00:00
Václav Slavík
bc850f29e6 reverted revision 1.6 -- Mattia obviously knows better than I do...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 23:38:53 +00:00
Václav Slavík
d2aa096b6f compilation fix -- a better way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 23:25:36 +00:00
Mattia Barbon
607f710e5d Blind fix for Watcom ( and VisualAge? )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 21:03:13 +00:00
Julian Smart
7266b67235 Now compiling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 17:44:23 +00:00
Julian Smart
1b0fb34be8 Added X11 wxEventLoop implementation; rearranged event processing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 12:00:11 +00:00
Vadim Zeitlin
b95edd4708 cleanups after SciTech commit :-(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 00:18:10 +00:00
Václav Slavík
e0a76d8d8a make more wxImage methods const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 00:17:25 +00:00
Václav Slavík
844e5ad37f fixed wxPageSetupDialogData::SetPaperId() to take value, not reference
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-08 00:16:20 +00:00
Vadim Zeitlin
0371e9a826 added another overloaded DrawCircle() version for completeness and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 23:24:05 +00:00
Kendall Bennett
574c939ef1 Merges from Scitech Branch (George Davison):
Added wxDisplayChangedEvent and triggering in MSW, when display mode changes
this event gets triggered. I don't know what should happen with other OS's
since I am not familiar with how they handle mode changes.

Watcome Version 11 now compiles with wide character support.

Fixed watcom warnings in
	html/htmlwin.h
	imagbmp.h
	listctrl.h
	imagbmp.cpp
	quantize.cpp
	strconv.cpp
	variant.cpp
	dirctrlg.cpp
	treectlg.cpp
	m_style.cpp
	fontenum.cpp
	listctrl.cpp
	ole\dataobj.cpp
	textctrl.cpp
	window.cpp
	xml.cpp

msw/setup.h
	with watcom version 11 it now compiles with wide character support.

xrc/xml.cpp
	fixed memory leak and compile warnings


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 18:46:31 +00:00
Václav Slavík
952ae1e88b changed wxImage::ComputeHistogram to use wxHashMap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 18:11:39 +00:00
Julian Smart
f79bd02d8e Various fixes for X11 compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 15:40:02 +00:00
Gilles Depeyrot
7d08179a70 removed trailing comma for SunSoft compiler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 13:24:55 +00:00
Vadim Zeitlin
8de1759c6f added wxCOMPILE_TIME_ASSERT2() macro allowing to give the unique name to the struct used by wxCOMPILE_TIME_ASSERT() and use it in dynarray.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 12:33:40 +00:00
Vadim Zeitlin
d77254fc5f a hack to fix the MSW build for now, pending better solution
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 12:24:57 +00:00
Vadim Zeitlin
17e656b003 fixed passing empty macro argument for VC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 12:08:25 +00:00
Julian Smart
bc797f4cc8 Stripped out miscellaneous Motif/Xt-specific code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-07 12:06:37 +00:00
Vadim Zeitlin
f2a139adfd oops, have to commit this after accidentally committing intl.cpp to not break compilation (contains unfinished code)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 20:14:25 +00:00
Vadim Zeitlin
1a931653f8 cleaned up the arrays declaration macros and added a new SORTED_ARRAY_CMP family; added tests for them to the console sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 20:12:24 +00:00
Vadim Zeitlin
8f5d910492 added and documented wxCOMPILE_TIME_ASSERT and wxASSERT_MIN_BITSIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 20:07:49 +00:00
Vadim Zeitlin
1f42894286 assert when a base class of a class in wxRTTI system is not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 01:38:48 +00:00
Vadim Zeitlin
f98bd52a3e added wxRTTI macros to wxList and wxStringList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14023 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 01:38:08 +00:00
Vadim Zeitlin
0cf5b09998 got rid of wxWindow::m_lDlgCode - now wxWANTS_CHARS style should work for all windows, even the native controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-06 00:58:11 +00:00
George Tasker
8a77c0d769 Added WXDLLEXPORT_DATA() around several data elements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 19:07:20 +00:00
Julian Smart
7eaac9f513 First stabs at stripping out Xt/Motif code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 18:13:03 +00:00
Julian Smart
eddf46fea7 Fixed a couple of typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 16:44:39 +00:00
Julian Smart
83df96d63a Reformatted Motif headers; added __WXX11__ symbol support to common headers;
added place-holding src/x11 and include/wx/x11 files.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 16:34:33 +00:00
Vadim Zeitlin
b920c41b60 defined wxUSE_IFF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-05 00:14:21 +00:00
Vadim Zeitlin
373658eb49 fixed for compilation without wxUSE_WCHAR_T and minor cleanups associated with this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 22:33:52 +00:00
Robert Roebling
c89f5c02b1 Added missing test in wxObject::Ref() for already
equal objects (same m_refData).
  Implemented new ref counting for wxBrush, wxPen
    and wxColour (in addition to wxRegion). Also
    inlined some more functions and implemented
    real comparisons.
  Corrected refresh code to update GTK's window-less
    widgets if overdrawn after a wxWindow::Refresh().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 18:01:21 +00:00
Vadim Zeitlin
a407ff6ae8 added GAUGE standard colour and use it in DrawProgressBar() if the colour
hadn't bee nset explicitly


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 16:34:22 +00:00
David Webster
107e4338b4 non const to const change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 14:09:12 +00:00
Robert Roebling
3bcc8d1581 Now updating and clearing are done in a delayed fashion.
The m_updateRegion gets updated and the (often much
    smaller) m_clearRegion gets cleared. This removes the
    flicker introduced by having delayed updates and
    immediate clearings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 14:05:28 +00:00
Robert Roebling
48850fa74d Big wxRegion clean up.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 12:04:23 +00:00
Robert Roebling
e0f0b19775 Ref counting fixes and compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 10:42:16 +00:00
David Webster
45e0dc9477 OS/2 scrolling support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 04:19:14 +00:00
Vadim Zeitlin
cafbad8f17 total wxBrush cleanup: made private stuff private, fixed data (un)sharing, create HBRUSH on demand only, added asserts/checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 01:35:30 +00:00
Vadim Zeitlin
b802788865 changed CloneRefData() to take a const pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-04 01:34:18 +00:00
Vadim Zeitlin
025763083a oops, Clone/CreateRefData() were not overridden in wxRegion as intended
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 12:31:32 +00:00
Vadim Zeitlin
9fe4c99cc5 fixed wxRegion::Offset() to not modify the shared regions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-03 11:49:31 +00:00
Václav Slavík
4d876ee3f7 wxXRC cleanup: removed .xmlbin format
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 23:17:38 +00:00
Václav Slavík
32a0d013e9 changed wxFileName::Normalize signature to allow or-combination of flags and reverted Julian's hack-fix to wxTextFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 23:14:45 +00:00
Vadim Zeitlin
1e2081a1b9 1. fixed bug in wxDC::SetMapMode() which broke the scrolling
2. some cleanups in wxDC code
3. SetAxisOrientation() still doesn't work...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 16:08:14 +00:00
Vadim Zeitlin
5230934a95 wxDC::SetClippingRegion() in wxMSW works like in wxGTK, i.e. combines the given region with the old one (also documented this behaviour as the correct one)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-02 00:40:45 +00:00
Václav Slavík
9facc12633 wxDialog::Show has default argument value in wxUniv now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 23:01:47 +00:00
Vadim Zeitlin
9b0f84db4a removed GetString(), it doesn't belong here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 19:30:01 +00:00
Vadim Zeitlin
376e1129f7 various minor fixes to wxHashMap: compilation warnings suppressed, use calloc() instead of new[]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 14:58:55 +00:00
Vadim Zeitlin
356c7bfad2 added default value for Show() argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 12:21:40 +00:00
Robin Dunn
4683727281 added wx type info macros for wxFSFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-01 02:08:19 +00:00
Julian Smart
7eff657c07 Applied wxImage -> wxCursor patch, tool window event table fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 22:11:06 +00:00
Julian Smart
9fce8d2eee Applied wxPoem, wxSystemSettings, sizing, install doc patches
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 21:58:34 +00:00
Julian Smart
6e8515a3e3 Regenerated FL docs; applied patch [ #511363 ] Dialogs no longer need wx.rc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 20:57:31 +00:00
Vadim Zeitlin
807d848702 added wxObject::AllocExclusive() and associated methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 16:01:09 +00:00
Vadim Zeitlin
0fb067bbe6 implemented wxRegion::Offset() for MSW and documented it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-31 16:00:13 +00:00
Mattia Barbon
ac6e54eee6 Add WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 21:43:02 +00:00
Vadim Zeitlin
8d5eff606a attempts to make wxCondition::Broadcast() and Signal() work simultaneously - currently they do but something else doesn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 19:11:54 +00:00
Robert Roebling
35917d228a Added wxRegion::Offset(x,y)
Go to plan B: wxWindow::Scroll() now moved the
    m_updateRegion for later processing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 17:25:18 +00:00
Robert Roebling
beab25bde3 Some changes for new Update/Refresh behaviour. This
commit actually doesn't change anything. I just cleared
some code and added the new interface. I want this to
be seperate from the commit (if any) that introduces the
new behaviour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-30 13:23:10 +00:00
Julian Smart
88bed4b484 Pruned some of txrc.tex; removed redundant helpxlp files.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 23:08:49 +00:00
Vadim Zeitlin
547b93ab04 attempts to make wxCondition::Broadcast() work - it still doesn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 22:49:13 +00:00
Mattia Barbon
aecca2c841 MSVC5 does not like extern "C" around windows.h .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 21:30:03 +00:00
Mattia Barbon
0508ba2a6b New wxHashMap class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-29 21:26:57 +00:00
Mattia Barbon
e02e8816c7 Fix MinGW compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 22:37:48 +00:00
Stefan Csomor
205830e23c for file based help we have mac separators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 21:38:00 +00:00
Stefan Csomor
0887f88e2d added export
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 21:29:40 +00:00
Vadim Zeitlin
aa0ffd1d92 more Unicode fixes for help files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 16:03:50 +00:00
Vadim Zeitlin
7cc5a448dc Unicode compilation fixes, also moved private constants into the .cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 13:19:44 +00:00
David Webster
b82186f0e7 Get the right dialogs into OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 03:24:34 +00:00
Vadim Zeitlin
d23c8ba247 added another, more convenient, wxRGBToColour() overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 01:40:24 +00:00
Vadim Zeitlin
7d6d3bf31e Windows XP appearance fixes for status and tool bars (bug 501585)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-28 01:38:39 +00:00
Václav Slavík
5ed345b7ed XMLID->XRCID, XMLCTRL->XRCCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 23:42:16 +00:00
Václav Slavík
6cc4e6b81a new wxHtmlWindow::OnOpeningURL API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:03:10 +00:00
Václav Slavík
d2b0092bed moved wxHtmlWindow flags out of defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-27 19:02:32 +00:00
Vadim Zeitlin
9cf8de4c74 implemented IsFixedWidth() correctly for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 22:29:37 +00:00
Gilles Depeyrot
434c9eb58a corrected includes when wxUSE_CMDLINE_PARSER is 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 21:59:52 +00:00
Vadim Zeitlin
3ffbc733a2 patch to fix various filename-related functions for cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 17:02:45 +00:00
Julian Smart
83665b8122 Moved setup.h out of the way
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 10:59:51 +00:00
Václav Slavík
69830d1f58 hide mouse when using wxScreenDC in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-26 00:24:06 +00:00
David Webster
f1633a8f6a Resource file updates and setup to configure for generic dirdlg.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 22:48:13 +00:00
David Webster
957aea456c OS/2 does not have a native dirdlg, use generic
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 22:47:37 +00:00
Vadim Zeitlin
d7cff34d1f fix a crash when dismissing the popup window because of a key press
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 16:02:21 +00:00
Vadim Zeitlin
2e36d5cf81 added and documented wxWindow::RemoveEventHandler()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 16:01:15 +00:00
Julian Smart
170a35e364 Re-added a minimal setup.h file that includes wx/msw/setup.h on Windows,
complains on Unix.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 14:38:45 +00:00
Vadim Zeitlin
cafbf6fb1f fixes to handling of the 7 bit ASCII encoding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 14:29:33 +00:00
Václav Slavík
01357b50cd reverted from wxStrdup back to strdup -- sorry SC, you have to find a better fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-25 00:08:07 +00:00
Václav Slavík
cc30b233fb added encodings handling to XRC, so that it is possible to load resources that don't use English+wxLocale for i18n
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 21:14:31 +00:00
Václav Slavík
c44fdc9401 added dummy <style> handler in order to hide CSS code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 21:13:38 +00:00
Vadim Zeitlin
fec679a4a7 fixed typo in EVT_WIZARD_HELP definition (patch from Kevin Burge)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-24 21:00:58 +00:00
David Webster
e58dab20ce Lots of fixes for OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 23:12:33 +00:00
David Webster
7d9211596f Fontutil wxFillLogFont change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 14:04:56 +00:00
Vadim Zeitlin
65d877d2b7 typos due to much cut-and-paste: colour -> font in the docs and comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 12:06:33 +00:00
Julian Smart
273b399fe9 Some comments modified to help with documentation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 11:55:09 +00:00
Václav Slavík
995c1788f5 added wxGenericDirCtrl handler to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 00:15:13 +00:00
Václav Slavík
1c2e6a2812 added length argument to wxString::wxString(wchar_t*), just like in case of wxChar* one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-23 00:14:10 +00:00
David Webster
f140b3520b OS/2 bug fix updates.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-22 23:17:55 +00:00
David Webster
1d3d992e5c More resource files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 19:57:54 +00:00
David Webster
98b67b810e More resource files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 19:51:49 +00:00
Václav Slavík
70c2fde399 fixed crash in wxSpinCtrl under wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 19:03:40 +00:00
Vadim Zeitlin
bf31fa26c7 added wxGetFontFromUser() similar to wxGetColourFromUser()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 17:53:00 +00:00
Vadim Zeitlin
50e42404fb added an explicit accessor to query the default key value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-21 15:52:03 +00:00
Stefan Neis
74707ecf7c - Added definition for struct SPBCDATA (missing in EMX).
- Added forward declaration of wxString.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 21:53:18 +00:00
Stefan Neis
0fe5619d25 Fixed compilation problems with gcc on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 21:50:56 +00:00
Stefan Neis
84dd58ce98 Added wchar handling for EMX (gcc on OS/2).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 21:47:45 +00:00
Stefan Csomor
fa15551ceb new static structure for using the correct resource file (needed for shared lib)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:14:11 +00:00
Stefan Csomor
dde587d9bd export statement needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:13:05 +00:00
Stefan Csomor
ac398c14e9 preparation for separated menu items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:12:22 +00:00
Stefan Csomor
9e336cc243 changed the usage of the member vars to be more consistent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:11:37 +00:00
Stefan Csomor
d1a8631363 added new constructor for wxpython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:10:45 +00:00
Stefan Csomor
f7c1de78f2 prefix files for shared library targets on cw mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:09:58 +00:00
Stefan Csomor
ab1437caac under metrowerks mac strdup is not exported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:09:06 +00:00
Stefan Csomor
724f720f89 correct import and export statements for metrowerks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:06:55 +00:00
Stefan Csomor
f305525708 changed to wxStrdup, since strdup is not guaranteed to be defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:06:13 +00:00
Stefan Csomor
ff297bdd57 new headers for new shared lib targets on codewarrior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 16:05:07 +00:00
Vadim Zeitlin
0e0bc92190 added Append(wxArrayString) to wxItemContainer (and so to wxChoice, wxComboBox, wxListBox, ...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 15:20:57 +00:00
Vadim Zeitlin
0fe1f685b4 tried to make wxArrayString(bool autosort) ctor more explicit, e.g. prevent it from being used in implicit conversions from char * to wxArrayString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 15:20:17 +00:00
Vadim Zeitlin
fb42d7c3b4 added support for wxArrayString data in wxVariant
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-20 15:19:04 +00:00
Václav Slavík
53cf79fa4b rewrote wxGenericFileDialog to use sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 23:23:51 +00:00
Václav Slavík
04db5c3f8f implemented URLs blocking in wxHtmlWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 23:23:15 +00:00
Vadim Zeitlin
dafbe8c0af added the possibility to hide the tip window automatically when the mouse leave the specified rectangle; fixed a few bugs with the window not disappearing automatically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 21:49:39 +00:00
Vadim Zeitlin
a83e14751f compilation/linking fixes for DoCaptureMouse() change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:39:53 +00:00
Vadim Zeitlin
4116c22156 Capture/ReleaseMouse() prefixed with Do for the other ports (OS/2, MGL, Motif, Mac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:38:46 +00:00
Vadim Zeitlin
94633ad9f1 maintaint the mouse capture stack in all ports, not just wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 19:31:19 +00:00
Gilles Depeyrot
1d63fd6bce renamed wxLogXXX functions with va_list argument to wxVLogXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 15:30:39 +00:00
Gilles Depeyrot
3fe34ed0ab changed 'extern inline' to extern only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-19 15:10:30 +00:00
Václav Slavík
546b00063e slight corrections, moved bwd compat macros to the end of the file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 23:16:16 +00:00