Commit Graph

12667 Commits

Author SHA1 Message Date
Julian Smart
70b8ab778f Compilation fixes for Nano-X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 20:32:37 +00:00
Vadim Zeitlin
5f7dd65ef8 fixed linking errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 18:45:47 +00:00
Julian Smart
25a1459592 Changed greying out to very crude algorithm, just draining colour
from the image.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 15:35:45 +00:00
Vadim Zeitlin
e3603065fd fixed error in mouse capture test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 15:21:13 +00:00
Julian Smart
a14a22278a Put tool disabling back in, but we need to debug wxCreateGreyedImage
since the scissors icon in the demo gets munged


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 11:35:52 +00:00
Julian Smart
011c17487e data_image -> mask_image, correcting some crashes in XPutImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 11:20:24 +00:00
Julian Smart
8262f9aecb Commented out the bitmap-greying code until I have time to debug it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 11:01:31 +00:00
Julian Smart
c18ac572db Corrected typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-25 10:19:11 +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
Václav Slavík
66a5865576 reverted wxMGL-specific code (didn't mean to commit this...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 23:27:52 +00:00
Vadim Zeitlin
9c9aeada3d added a note that wxStringList is obsolete
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 23:22:46 +00:00
Julian Smart
5e885a580a Reverted to my own solution; I think it's better because it distinguishes
between Universal and non-Universal solutions where menubars are
built in and don't affect client origin


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 23:18:35 +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
d1017acfc3 Corrections to position and size for toolbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 20:42:20 +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
ae45f98300 take title of radiobox into account to calculate best size (SF #509963)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 19:32:11 +00:00
Gilles Depeyrot
983ceb3d12 removed obsolete CodeWarrior project file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 19:11:02 +00:00
Gilles Depeyrot
ef7f21894c added Mac OS X application bundle (framework) building
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 18:02:51 +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
Robert Roebling
9d2cef1c69 Done some work on wxFocusEvent::SetWindow(). Enough
at least solve the menu problem that dismissed
   menus when the parent menu (correctly) lost the
   focus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 13:59:21 +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
Robin Dunn
d063802fcf more wxMac specific updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 04:18:57 +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
0ecf47c409 removed AdjustForParentClientOrigin from wxMotif and all its forks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:15:02 +00:00
Václav Slavík
ddba340ddf made generic wxListCtrl work with well-behaved ports (wxGTK hack still in place)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:14:18 +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
Václav Slavík
ea98f686a6 1. changed doubleclick events sequence to 'down,up,double,up' (turned out to be MGL's native one)
2. wxWindow::GetPosition() returns value relative to parent's client area origin now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:06:33 +00:00
Václav Slavík
a014c34488 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:06:12 +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
7ab2c081d0 no changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:56:55 +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
951cf90dfb part of the fix to the initial colour selection in the font picker dialog (the real fix was the change to wxColourToRGB() in msw/private.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:54:18 +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
Vadim Zeitlin
745e6cb915 temp linking quick fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:29:36 +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
Robin Dunn
a341e32e10 SIGged updates for wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:02:33 +00:00
Robin Dunn
94082a71f8 SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 20:47:46 +00:00
Robin Dunn
2403536a34 Finished wrapping and providing typemaps for wxInputStream and also
added the stream ctor and other methods for wxImage so images can now
be loaded from any Python "file-like" object.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 19:59:59 +00:00
Robin Dunn
f74ff5efa5 Finished wrapping and providing typemaps for wxInputStream and also
added the stream ctor and other methods for wxImage so images can now
be loaded from any Python "file-like" object.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 19:50:01 +00:00
Robin Dunn
e531b73f89 Changes for wxOGL since wxFatalError has been deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 19:16:07 +00:00
Robert Roebling
afbe906abd Some work on GTK focus handling and events.
Removed some code #ifdeffed for GTK from
    wxListCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 18:59:46 +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
Robert Roebling
9a9e73f6fd applied doc patch for wxPostEvent().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 18:57:57 +00:00
Robert Roebling
cbc906ceb7 Added new stream tests to typetest.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 18:57:11 +00:00
Julian Smart
0fccf28fe6 Added some notes on the Nano-X port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 17:45:59 +00:00