Julian Smart
a20c04abf2
Nano-X: added function to copy from a drawable to a wxImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 16:01:46 +00:00
Julian Smart
888d3c8082
Nano-X: bitmap now showing in wxMessageBox, but it'll be a while
...
before masked drawing is possible.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 09:45:19 +00:00
Robin Dunn
afb810d936
Changed the img2py tool to use PNG instead of XPM for embedding image
...
data in Python source code, and the generated code now uses streams to
convert the image data to wxImage, wxBitmap, or wxIcon.
A few other changes to match recent additions to CVS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 22:35:10 +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
bc55104d9a
Window management and sizer layout corrections
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 18:28:34 +00:00
Vadim Zeitlin
cee14ca0c5
fixed a few warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 15:45:41 +00:00
Julian Smart
ff6b424a2e
Fixed XGetWindowAttributes so 'mapped' is reported
...
correctly. About box now pops up, but is a mess.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 14:51:08 +00:00
Julian Smart
16d865f756
Attempt at creating appropriate fonts in Nano-X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 13:16:41 +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
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