Commit Graph

4681 Commits

Author SHA1 Message Date
Stefan Csomor
578dc95029 submenu preparation in two methods encapsulated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-10 11:57:27 +00:00
Stefan Csomor
ab89a5b59b show and hide implementation added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-07 10:25:11 +00:00
Stefan Csomor
e9d804ebea depth for masks added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-07 10:21:16 +00:00
Stefan Csomor
853f8094df added OnMouse which will trigger context menu events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-06 16:26:37 +00:00
Mattia Barbon
da494b405d Added new __WXMOTIF20__ macro, which is true if the Motif version
is 2.0 or higher.
  Now Motif 2.0 or better (but not Lesstif) uses XmRenderTable instead
of the deprecated XmFontList. This allows underlined text in controls.
  Miscellaneous cleanup; used wxXmString in some more places.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-05 20:15:35 +00:00
Václav Slavík
eaafd2f8b7 added support for GTK2 label mnemonics (patch #689573)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 23:34:52 +00:00
Vadim Zeitlin
53eff2a282 new wxDIB class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 02:15:29 +00:00
Vadim Zeitlin
acf8e3d29e start of alpha transparency support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 02:12:28 +00:00
Vadim Zeitlin
9ae2ec95cf added wxDynamicLibrary::Detach()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-04 01:48:47 +00:00
Vadim Zeitlin
487659e0fa added alpha channel support to wxImage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 20:33:40 +00:00
Vadim Zeitlin
c0589c62a6 added some macros to define version strings from version number (instead of having to manually update both)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 19:52:25 +00:00
Stefan Csomor
534f031251 added shrink procedure with proper color averaging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-03 15:25:36 +00:00
Vadim Zeitlin
7dc85fe2be added wxRect2DDouble == != = operators (patch 684616)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 23:44:56 +00:00
Vadim Zeitlin
a02afd1452 added wx/math.h (patch 686009)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 23:42:57 +00:00
Vadim Zeitlin
e49c85af1c added possibility to use several wxFileHistories (patch 685876)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 23:35:17 +00:00
Stefan Csomor
78e053ec45 xpm support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 22:38:30 +00:00
Stefan Csomor
30727fae8d fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 22:37:08 +00:00
Stefan Csomor
5f7a6626aa added copy arrow cursor macos specific
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19432 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 22:35:42 +00:00
Mattia Barbon
483561c568 Refactored wxStaticBox, and changed wxStaticBox and wxRadioBox border
style from sunken to the default Motif style.
  Added some convenience macros for checking Motif/Lesstif version.
  Fixed the bug that caused wxStaticBox size to change when label text
was changed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 20:08:45 +00:00
Vadim Zeitlin
8585e2b506 implemented video mode support (getting the current one, enumerating, changing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 14:17:20 +00:00
Vadim Zeitlin
bfc9081049 significant API changes: wxVideoMode and methods using it added, GetDepth() and IsColour() removed, GetFromWindow() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 14:16:29 +00:00
Mattia Barbon
458ca8c1fd Implemented wxButton::DoGetBestSize for wxMotif. Now normal buttons
and default buttons are visually the same size, however, given how
wxMotif draws default buttons, the Widget for a default button is
bigger (8 pixels by default), thus setting default border will
make the Widget grow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-02 10:09:25 +00:00
Robert Roebling
1a44c9258a Added wxComboBox::SetString patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 10:00:29 +00:00
Julian Smart
e40298d54e Tidied space and tabs in wxMac files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:48:13 +00:00
Václav Slavík
7f980cffb8 fixed wxScrollBar creation when default size was used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:41:00 +00:00
Václav Slavík
c5969a3848 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:39:46 +00:00
Václav Slavík
13a7abf973 added native wxMessageDialog implementation for GTK+2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:37:46 +00:00
Julian Smart
d921af5140 Tidied up white space and tabs in wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 23:36:37 +00:00
Julian Smart
a31a5f8534 Tidied copyright and date for wxMac files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 21:54:04 +00:00
Julian Smart
f81387bd80 Added display sample to distrib file lists
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-28 18:04:10 +00:00
Robin Dunn
402ce75571 Patch from David Falkinder to help building a STC dll.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 21:10:20 +00:00
Vadim Zeitlin
e8800dcfa7 added proportion parameter to wxFlexGridSizer::AddGrowableRow/Col()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 11:55:26 +00:00
Vadim Zeitlin
702c420889 added WXK_WINDOWS_XXX key constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 11:51:41 +00:00
Vadim Zeitlin
8a09029e0c added wxUSE_DISPLAY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 10:30:35 +00:00
Václav Slavík
850c6ed46e wxCLOSE->wxCLOSE_BOX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-27 10:13:26 +00:00
Václav Slavík
d3c0ce3402 unified default values for conv arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:31:44 +00:00
Václav Slavík
f1a19f1478 added wxCLOSE and unified wxDEFAULT_DIALOG_STYLE definition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-26 19:21:47 +00:00
Vadim Zeitlin
bad93b357f forward declare wxMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-25 12:43:06 +00:00
Mattia Barbon
e1aae52885 Implemented DoGetBestSize for wxListBox, (native) wxComboBox and
wxTextCtrl, and used it when wxSize(-1, -1) is passed to Create, to set
the initial size.
  Added wxDoChangeFont and wxXmStringToString helper functions, removed
the use of m_stringList in native wxComboBox, removed some duplicated code
in wxWindow.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 20:33:43 +00:00
Václav Slavík
1da51aafba make wxConvUTF8 available in wchar_t-less mode, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 19:01:54 +00:00
Václav Slavík
67de05a11c wxFileConfig in Unicode fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-23 19:01:29 +00:00
Mattia Barbon
69c4481222 Use some wxX11 files (currently pen.cpp and brush.cpp) in wxMotif.
Add src/x11 to VPATH in configure, and add a new flag to filelist.txt
indicating a file used in wxMotif but not in wxMotif directory.
  Modifed VMS makefiles, too (should be checked by someone with VMS,
though).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 18:20:47 +00:00
Julian Smart
9dc8c75994 Temporary fix for strange wxDateTime link error with VC++ and wxUSE_ACCESSIBILITY=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 21:06:52 +00:00
Robin Dunn
7de595519a Send the wxWindowDestroyEvent for all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-19 02:59:36 +00:00
Julian Smart
d43851f77e Applied patch [ 608866 ] wxGrid: vertical column label text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 14:25:34 +00:00
Julian Smart
2cdd094b12 Applied patch [ 681921 ] Stray focus rectangle in static text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:40:30 +00:00
Julian Smart
a8f4cabe1e Applied patch [ 681893 ] Combobox in toolbar
This patch adds controls (i.e. combobox) to toolbars.
It also changes the toolbar sample so the combobox is
actually shown.

Otto Wyss


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:38:02 +00:00
Julian Smart
c6e2af4570 Some improvements to accessibility behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-18 09:33:42 +00:00
Julian Smart
e0496eaaa4 Changed back inline/const things
wxTabCtrl must have WS_CHILD window style
small access.cpp tweaks (call QueryInterface)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-17 12:43:47 +00:00
Václav Slavík
b1ef887ad8 another compilation fix for over-optimized #includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-16 23:08:33 +00:00