Commit Graph

12716 Commits

Author SHA1 Message Date
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
434005ca85 fixed creation of the dialogs with a simple (non 3D, non resizeable) border; also fixed handling of minimize/maximize box style bits (but is this really needed for the dialogs?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 01:25:29 +00:00
Vadim Zeitlin
9b70bb91af fixed menu accel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14456 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 01:24:27 +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
d3f7a53b67 correct Insert() docs (bug #526172)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-06 00:24:33 +00:00
Mattia Barbon
7cfdeaadb8 More blind fixes for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 21:23:47 +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
bfe9b3dac0 compilation fix for WXWIN_COMPATIBILITY_2_2 == 0 case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 16:38:08 +00:00
Vadim Zeitlin
7d1f4c3ff0 changed charset to iso8859-2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 13:32:30 +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
Václav Slavík
f5c0e65719 fixed compilation for wxUSE_UNICODE=1, wxUSE_UNICODE_MSLU=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-05 00:18:28 +00:00
Mattia Barbon
0e7fa3a63f Blind fix for daily builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-04 20:22:47 +00:00
Vadim Zeitlin
42a6fe0e2f added Hungarian translations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-04 16:01:09 +00:00
Jouk Jansen
4b37e99afc Committing in .
OpenVMS updates

 Modified Files:
 	wxWindows/descrip.mms wxWindows/setup.h_vms
 	wxWindows/src/motif/utils.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-04 14:22:32 +00:00
Julian Smart
a5938d5945 Removed obsolete -WE flags from WIN32 BC++ makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-04 07:52:05 +00:00
Václav Slavík
718cf16095 fixed translatable strings handling in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-03 23:25:58 +00:00
Václav Slavík
bd3b7e098d removed implicit dependency on wxPNGHandler from wxGTK's wxBitmapDataObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-03 23:25:28 +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
96e3c3d44a fix button double click handling (should be treated the same as single click)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-28 21:09:32 +00:00
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