Vadim Zeitlin
665274bb4a
removed unnecessary include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 20:57:16 +00:00
Robin Dunn
dae710e70d
fixed typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 19:06:32 +00:00
Robin Dunn
96de41c2c5
Added wxPython.lib.rcsizer which contains RowColSizer. This sizer is
...
based on code from Niki Spahiev and lets you specify a row and column
for each item, as well as optional column or row spanning. Cells with
not item assigned to it are just left blank. Stretchable rows or
columns are specified and work the same as in wxFlexGridSizer.
A few other minor changes too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 19:01:19 +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
cb78397f14
warnings fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 18:06:37 +00:00
Julian Smart
247194a3ae
Added a test for lastH.IsOk()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 18:00:33 +00:00
Robin Dunn
5ae7602641
Moved declaratrions of wxPyInputStream and etc. into it's own header
...
file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 17:05:56 +00:00
Robin Dunn
4152e8b9fd
Moved declaratrions of wxPyInputStream and etc. into it's own header
...
file.
SWIGged updates for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 16:59:20 +00:00
Julian Smart
0a68bc6908
Corrected points to pixels calculation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 15:57:26 +00:00
Robin Dunn
cbf60e091e
Moved declaratrions of wxPyInputStream and etc. into it's own header
...
file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 15:53:14 +00:00
Ron Lee
772c017b2c
Typo fix for GetSizer.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 09:20:12 +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
Vadim Zeitlin
2b69aeaa92
removed the SetMargins call
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 21:42:08 +00:00
Julian Smart
c246bd7c41
Added static wxBuffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 21:39:22 +00:00
Julian Smart
f22033e520
Nano-X: used drawable-to-wxImage function in wxBitmap::ConvertToImage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-27 16:10:45 +00:00
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