Commit Graph

4087 Commits

Author SHA1 Message Date
Ron Lee
3aa5d53272 added optional parameter to SetSizer, to allow replacing a window's
sizer without deleting the existing one.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-10 11:19:16 +00:00
Vadim Zeitlin
3295e23873 don't include wx/wx.h unnecessarily
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:55:39 +00:00
Julian Smart
c978d36124 Added reparenting helper classes to help apps to grab the windows
of other applications.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:51:10 +00:00
Ron Lee
34c3ffca5b Added GetMaxSize virtual method for use by sizers.
Modified wxSizer to use it instead of crushing all windows to
the display size.

Currently only top level windows are limited to display size,
all other windows are unlimited (inside the clipping region of
their tlw).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 02:58:13 +00:00
Václav Slavík
5489a64378 fixed MSVC warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 23:48:16 +00:00
Ron Lee
04662def27 Added SetLogBuffer method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 20:01:38 +00:00
Julian Smart
086fd5603b ProcessXEvent now returns TRUE if processed, FALSE if not
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 12:06:12 +00:00
Vadim Zeitlin
b547fe8721 added a const version of wxColourData::GetColour()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 23:36:44 +00:00
Václav Slavík
5ecdcaa78f rewrote Chris' fix properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 21:45:03 +00:00
Julian Smart
1b21409b36 Corrections in light of recent toolbar and other changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-07 18:48:03 +00:00
Vadim Zeitlin
a12ffe1a35 define wxFRAME_FLOAT_ON_PARENT as wxFRAME_TOOL_WINDOW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 23:59:16 +00:00
Julian Smart
fc7995487f Applied patch for Forty, print patch and wxHTML book patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 17:50:52 +00:00
Vadim Zeitlin
f1322419da fixes to the new pointer array implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 16:26:25 +00:00
Vadim Zeitlin
cf72f75f8a forbid copying wxEvtHandlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 11:38:52 +00:00
Vadim Zeitlin
4e8e18e2b2 added missing include guards
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 11:17:14 +00:00
Julian Smart
75d7ef36eb Moved typedef to within public block to avoid compile error in VC++
(can't access privately declared typedef)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 09:34:59 +00:00
Gilles Depeyrot
5a1cad6ea4 wxArray<T> macros have been changed to fix runtime problems under 64 bit
architectures. The base class is now implemented once for each needed
primitive type in order to avoid invalid reference casts. Macros are
provided to implement new arrays using these primitive base arrays.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 06:31:34 +00:00
Vadim Zeitlin
d1f33936ab removed the dialog templates unneeded/unused any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 01:23:58 +00:00
Vadim Zeitlin
bbee1b4abc added missing WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 18:55:22 +00:00
Vadim Zeitlin
41ff8313b8 fix for wxScreenDC::GetSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 00:52:01 +00:00
Vadim Zeitlin
ba5aa38cad added missing default values for the 2nd argument of DeleteEntry()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 00:32:46 +00:00
David Webster
bc5a847c1b This weeks interface and compile catchup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-01 19:50:08 +00:00
Robert Roebling
ea1ad04b43 Lots of things to make menus and submenus work.
Also added wxPopTransientWindow::CanDismiss() which will
    be needed for pop-up menus, although that actually
    still has to be done...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 22:42:14 +00:00
Vadim Zeitlin
4e89ceb11e don't allow clicking disabled buttons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 21:11:41 +00:00
Vadim Zeitlin
5a73d082f0 fixes to toolbar, seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 18:07:03 +00:00
Vadim Zeitlin
3216dbf5dc [start of] a wxUniversal implementation of wxToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 21:42:48 +00:00
Julian Smart
c2ff68d3fd Got dialog sizing to work, downsized fonts a bit (though it always returns
the same standard font right now)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 21:58:07 +00:00
Julian Smart
0b5c0e1ac1 Nano-X changes: removed spurious -O for Nano-X configuration;
got colour working in Nano-X (uses 8 bit RGB values, not 16 bit);
now sets font background mode correctly; window management
call correction


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 10:06:07 +00:00
Robert Roebling
bb312b54f6 New code for greying out.
Implemented wxTB_FLAT.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 22:56:19 +00:00
Julian Smart
c229e50dc7 Added middle mouse event macros to wxListCtrl doc; added wxCreateGreyedImage
and attempt to show disabled buttons in wxUniversal wxToolBar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 10:11:10 +00:00
Julian Smart
16c9a4258f Fixed conflicts with Robert's similar fixes; fixed toolbar size calculation
and allowed for vertical toolbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 23:04:46 +00:00
Robert Roebling
c08a4f0068 Added simplistic wxToolBar to wxUniversal. It
still corrupts the non-client area.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 19:49:36 +00:00
Gilles Depeyrot
67087ab455 changes needed for compilation with Project Builder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 17:58:30 +00:00
Robert Roebling
f809133f9e Added expose event compression.
Made wxUniv scrollbars not accept any focus
    if they are owned by the window (in contrast
    to stand alone scrollbars).
  Further corrections to ScrollWindow()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 16:23:43 +00:00
Vadim Zeitlin
6c0d0845c2 only call GSocket_Init() when needed and do call it before using GAddress_XXX
functions (fixes bug 510722)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 13:51:43 +00:00
Robert Roebling
e88be8c942 More tests in erase sample.
Added wxControlStr to data.cpp.
  Fixed scrolling for window with a border. The
    area which was copied was off by the border
    width sometimes.
  Added two more AddTool() variants to wxToolBar
    when used with universal. It compiles now,
    but doesn't work...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 11:06:55 +00:00
Vadim Zeitlin
6fb17fd518 correction to wxUSE_FSVOLUME handling, don't give #error if it is not set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:21:18 +00:00
Vadim Zeitlin
05815ab32f added wxUSE_FSVOLUME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:19:01 +00:00
Václav Slavík
20a1eea1fd made AdjustForParentClientOrigin const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:17:23 +00:00
Václav Slavík
6b5d017e8f removed AdjustForParentClientOrigin from wxMotif and all its forks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:08:45 +00:00
Vadim Zeitlin
ccef86c75d added EVT_MENU_OPEN and EVT_MENU_CLOSE events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 23:16:32 +00:00
Vadim Zeitlin
4ab861e548 changed wxColourToRGB() to use RGB() instead of PALETTERGB() to fix the bug #503022
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:55:27 +00:00
Vadim Zeitlin
994a3786b9 implemented wxWindowDC and wxClientDC::GetSize() properly (fixes bug #503022)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:32:45 +00:00
Robert Roebling
9691c806e6 Implemented a simple modality under X11.
Filled wxDataFormat and wxDataObject etc.
  Added skeleton for X11 clipboard.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:26:16 +00:00
Vadim Zeitlin
731db70980 undef LoadMenu() (patch #521743)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:05:40 +00:00
Robert Roebling
890f8a7c00 Applied wxList::Prepend() patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 18:58:25 +00:00
Julian Smart
461e93f921 wxUSE_CONSTRAINTS now refers to constraints only, since sizers
are now crucial to wxWindows. Further Nano-X fixes; now
compiles and links in Nano-X mode.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 17:36:48 +00:00
David Webster
b9b1d6c8dd Style updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 23:30:31 +00:00
Vadim Zeitlin
73deed44e6 1. made wxDebugMsg, wxError and wxFatalError deprecated (still available
with WXWIN_COMPATIBILITY_2_2)
2. moved wxInternalErrorStr and wxFatalErrorStr to a common file
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	include/wx/app.h include/wx/chkconf.h include/wx/utils.h
CVS: 	src/common/appcmn.cpp src/common/fontmap.cpp
CVS: 	src/common/utilscmn.cpp src/gtk/data.cpp src/mac/data.cpp
CVS: 	src/mac/utils.cpp src/msw/data.cpp src/msw/utils.cpp
CVS: 	src/os2/DATA.CPP src/os2/UTILS.CPP src/unix/utilsunx.cpp
CVS: ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-22 18:18:36 +00:00
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
Vadim Zeitlin
409d5a5860 better native font support for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 20:01:49 +00:00
David Webster
b4b830ec00 Compile in IFF stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 16:57:51 +00:00
David Webster
289b295104 Various OS/2 changes to keep up with general library changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 16:57:12 +00:00
David Webster
60e2e6c0ff Some WXPM defs for dialog styles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 16:55:45 +00:00
Vadim Zeitlin
cc0e848087 IFF support off by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-18 16:44:12 +00:00
Vadim Zeitlin
d297e8ff2a wxUSE_IFF 0 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:57:22 +00:00
Vadim Zeitlin
5f199b71e3 don't generate clicked events when we just get the focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:54:14 +00:00
Václav Slavík
824e8eaacc added singleton interface to wxXmlResource, replaces wxTheXmlResource
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 23:41:53 +00:00
Václav Slavík
63f8abca79 fixed to the IFF handler, moved into one file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:40:18 +00:00
Václav Slavík
1663afc011 added wxUSE_IFF test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:38:55 +00:00
Václav Slavík
f3437beb5d wxFont::IsFixedWidth for wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 19:38:39 +00:00
Václav Slavík
47793ab85a implemented Alex's <object_ref> symlinks in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-17 00:16:54 +00:00
Vadim Zeitlin
12353a277f more DLL compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 19:50:01 +00:00
Jouk Jansen
a7aef4a92a Committing in .
update OpenVMS compile support

 Modified Files:
 	wxWindows/setup.h_vms wxWindows/include/wx/thread.h
 	wxWindows/src/common/descrip.mms
 	wxWindows/src/common/iffdecod.cpp
 	wxWindows/src/unix/threadpsx.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 15:07:55 +00:00
Robin Dunn
4958ea8f7b Added wxThread::GetCurrentId(), which returns an ID for the current
thread, even if it is not a wxThread.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-16 06:28:11 +00:00
Václav Slavík
4a1b95962f merged another part of Alex's work (LoadMenuBar w/ parent)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 23:37:55 +00:00
Robert Roebling
4b6b4dfcf4 Added IFF handler.
Minor doc updates.
  Corrected configure for SGI OpenGL (wx-config related).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-15 17:57:08 +00:00
Vadim Zeitlin
53f6aab752 added wxFont::IsFixedWidth(), documented it and implemented for wxGTK/Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 19:04:35 +00:00
Vadim Zeitlin
3d96d41115 added missing WXDLLEXPORTs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 12:14:38 +00:00
Gilles Depeyrot
ea44a6310e added wxLog functions with a variable argument list pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 07:10:34 +00:00
Václav Slavík
eeadb14c3d removed setup0.h artifacts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-14 00:22:03 +00:00
Vadim Zeitlin
90c1530adf 0. extracted toolbar colour mapping stuff to its own function
1. wxToolBar adjusts the colours properly when the system colours change
2. wxImageList uses light grey as the transparent colour for the bitmaps


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 23:04:11 +00:00
Stefan Csomor
d60f101215 changed the MulDiv Macro removing macheader dep.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 17:56:22 +00:00
Stefan Csomor
4dfbcdd53d added type and creator routines for mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 17:38:55 +00:00
Václav Slavík
658974ae66 applied ANI images patch and added wxUSE_ICO_CUR
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 12:01:42 +00:00
Vadim Zeitlin
65c36a73c6 applied patch for safer GIF decoding (502103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 01:26:57 +00:00
Vadim Zeitlin
4e152a239b fixed several resource leaks related to MDI menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-13 01:26:04 +00:00
Vadim Zeitlin
79d26b329e SetValue() doesn't call Clear()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 22:45:23 +00:00
Robert Roebling
005f5d1878 Some additions to the 12-bit patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-12 12:21:57 +00:00
Vadim Zeitlin
295272bdcd more Sun C++ compiler warning fixes: in particular, added an ugly but
necessary workaround for avoiding warning in the .xpm files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 19:33:37 +00:00
Gilles Depeyrot
912aaab35c added missing const for Apple DevTools
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 16:13:56 +00:00
Robert Roebling
60ec3e58b8 Move notebook size code for mac to mac/notebook.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 14:34:38 +00:00
Stefan Csomor
5921f83f73 fewer standard includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 14:01:42 +00:00
Stefan Csomor
4f357b2f58 changed to non-opaque structs for debugging (makes debugging useful, otherwise we cannot view toolbox structs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 13:49:41 +00:00
Stefan Csomor
e2aa719c68 additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 13:48:25 +00:00
Stefan Csomor
477594f737 ATSU Rendering Support added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 13:27:19 +00:00
Vadim Zeitlin
3a3ef0bf61 changes wxFRAME_EX_CONTEXTHELP value to avoid clash with wxWS_EX_TRANSIENT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-11 00:01:54 +00:00
Vadim Zeitlin
68d02db3ed moved toolbar adjustments for the client size from wxTLWMSW to wxFrameMSW to fix problems in wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 23:58:31 +00:00
Gilles Depeyrot
a3d3d3bf6c unified UMAPrOpen/UMAPrClose prototypes for session and non-session printing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-10 21:31:35 +00:00
David Webster
511ac294da Lots of cleanup, mostly consolidating globals
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 23:16:22 +00:00
Robin Dunn
623ba2e118 Updated to use correct value for wxSTC_MASK_FOLDERS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 21:14:48 +00:00
Robert Roebling
42dcacf02b wxDirDialog no longer shows hidden files. I don't
know yet how to implement the reparsing when the
    user checks/unchecks the "Show hidden directories"
    button. And my mail is down...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 18:00:39 +00:00
Vadim Zeitlin
903506828b fixes for the compilation warnings with Sun CC:
1. some fixes for "String literal to char * conversion" warnings (many
   more left in the *.xpm files)
2. fixes for "assignment of function to extern "C" function"
3. a few other miscellaneous ones


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 12:49:12 +00:00
Vadim Zeitlin
a5aa80862c added, implemented, documented wxTE_RICH2 and wxTextCtrl::GetRange()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-09 01:32:02 +00:00
David Webster
f5b5c15cbe OS/2 NativeFontInfo support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:37:40 +00:00
David Webster
cc95f4f947 OS/2 NativeFontInfo support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:33:27 +00:00
Václav Slavík
925fe73a20 backward-compatiblity functions must go to wxSystemSettings,
otherwise (non-virtual) wxSSNative version would be used :(


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:25:53 +00:00
Václav Slavík
159960c0e7 wxRTTI for wxPopupWindow in wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:25:23 +00:00
Václav Slavík
90c9fcc5fd DLL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:25:01 +00:00
Václav Slavík
ed72fbf723 moved InteractiveMove to wxUniv's wxTopLevelWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 18:06:15 +00:00
Gilles Depeyrot
799ea01170 implement out-of-line destructors where needed instead of using __DARWIN__
specific conditional compilation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-07 21:52:28 +00:00