Mattia Barbon
d3a80c922c
Remove explicit casts to (const char *), and replace it with .c_str();
...
use wxConstCast instead of explicit casts to char*.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-14 20:07:03 +00:00
Mattia Barbon
1119b89942
Do not change background colour for parent widget; set best size to
...
some arbitrary value if the text control is empty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-01 18:05:33 +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
Mattia Barbon
0ec6fd04eb
Remove calls to a couple of deprecated methods, fix wxMotif build with
...
GCC 3.2, remove deprecated (and unused) fstream.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 20:44:47 +00:00
Vadim Zeitlin
d2c7015bf0
old compilation fix for AIX from Ian Brown
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-09-02 20:08:16 +00:00
Mattia Barbon
44d130a35e
Check for NULL pointer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-28 20:51:02 +00:00
Václav Slavík
a756f21001
use the new wxSystemSettings API everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-01-08 23:53:01 +00:00
Julian Smart
dbf2885911
Fixed CanCut
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-29 16:18:39 +00:00
Jouk Jansen
bcd055ae10
Committing in .
...
Modified Files:
wxWindows/src/generic/scrolwin.cpp wxWindows/src/motif/app.cpp
wxWindows/src/motif/bitmap.cpp
wxWindows/src/motif/bmpbuttn.cpp
wxWindows/src/motif/button.cpp
wxWindows/src/motif/checkbox.cpp
wxWindows/src/motif/choice.cpp wxWindows/src/motif/dialog.cpp
wxWindows/src/motif/filedlg.cpp wxWindows/src/motif/msgdlg.cpp
wxWindows/src/motif/radiobox.cpp
wxWindows/src/motif/radiobut.cpp
wxWindows/src/motif/statbox.cpp
wxWindows/src/motif/stattext.cpp
wxWindows/src/motif/textctrl.cpp wxWindows/src/motif/utils.cpp
wxWindows/src/motif/window.cpp
More patches for VMS only
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-25 08:00:04 +00:00
Václav Slavík
ad81651f00
removed USE_SHARED_LIBRARY(IES)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 23:57:30 +00:00
Jouk Jansen
338dd99216
Committing in .
...
Modifications to get rid of warnings on VMS
Modified Files:
wxWindows/include/wx/utils.h wxWindows/src/common/date.cpp
wxWindows/src/common/datstrm.cpp
wxWindows/src/common/gdicmn.cpp wxWindows/src/common/image.cpp
wxWindows/src/common/object.cpp
wxWindows/src/common/sckipc.cpp
wxWindows/src/common/txtstrm.cpp
wxWindows/src/generic/fontdlgg.cpp
wxWindows/src/generic/listctrl.cpp
wxWindows/src/generic/scrolwin.cpp
wxWindows/src/generic/splitter.cpp wxWindows/src/motif/app.cpp
wxWindows/src/motif/bitmap.cpp
wxWindows/src/motif/bmpbuttn.cpp
wxWindows/src/motif/button.cpp
wxWindows/src/motif/checkbox.cpp
wxWindows/src/motif/choice.cpp wxWindows/src/motif/clipbrd.cpp
wxWindows/src/motif/colour.cpp
wxWindows/src/motif/combobox.cpp
wxWindows/src/motif/control.cpp wxWindows/src/motif/cursor.cpp
wxWindows/src/motif/dataobj.cpp
wxWindows/src/motif/dcclient.cpp
wxWindows/src/motif/dcmemory.cpp
wxWindows/src/motif/dcscreen.cpp
wxWindows/src/motif/dialog.cpp wxWindows/src/motif/filedlg.cpp
wxWindows/src/motif/font.cpp wxWindows/src/motif/frame.cpp
wxWindows/src/motif/gauge.cpp wxWindows/src/motif/icon.cpp
wxWindows/src/motif/listbox.cpp wxWindows/src/motif/mdi.cpp
wxWindows/src/motif/menu.cpp wxWindows/src/motif/menuitem.cpp
wxWindows/src/motif/msgdlg.cpp wxWindows/src/motif/palette.cpp
wxWindows/src/motif/radiobox.cpp
wxWindows/src/motif/radiobut.cpp
wxWindows/src/motif/region.cpp
wxWindows/src/motif/scrolbar.cpp
wxWindows/src/motif/settings.cpp
wxWindows/src/motif/slider.cpp wxWindows/src/motif/statbmp.cpp
wxWindows/src/motif/statbox.cpp
wxWindows/src/motif/stattext.cpp
wxWindows/src/motif/textctrl.cpp wxWindows/src/motif/timer.cpp
wxWindows/src/motif/toolbar.cpp wxWindows/src/motif/utils.cpp
wxWindows/src/motif/window.cpp wxWindows/src/unix/fontutil.cpp
wxWindows/src/unix/utilsunx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-18 14:30:10 +00:00
Julian Smart
af111fc338
Removed lots of wxMotif compile warnings. Copied new install.txt into old
...
install.txt (wxMotif).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 13:33:13 +00:00
Michael Bedward
17023320be
Added code to implement wxTE_READONLY style for single line text controls.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-21 02:37:29 +00:00
Michael Bedward
b86de524c7
Changed value setting code in ctor and function SetValue so that widget uses a copy of the source string rather than a pointer to the source string. This fixes problems with wxGrid.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-26 04:41:56 +00:00
Vadim Zeitlin
813c20a67e
wxMotif fixes and common fixes for socket compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-27 20:12:16 +00:00
Vadim Zeitlin
31528cd3ca
1. more wxMotif fixes
...
2. wxGetNumberFromUser added
3. more compilation fixes when compiling without sockets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-23 21:03:02 +00:00
Robert Roebling
da175b2ce4
Motif compile fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-23 10:03:44 +00:00
Vadim Zeitlin
d390f6eefc
wxTextCtrl::DiscardEdits doesn't empty the text ctrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-19 12:51:51 +00:00
Julian Smart
e702ff0f08
Menu/toolbar event handling now tries the window with the focus first.
...
wxTextCtrl processes cut, copy, paste, undo, redo commands and UI updates
automatically.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-07 21:33:22 +00:00
Julian Smart
ca8b28f2ef
Added some missing wxTextCtrl functions: Undo, Redo, CanUndo, CanRedo,
...
CanCopy, CanCut, CanPaste, GetSelection, IsEditable.
Also added wxNotebook::SetTabSize (only implemented on wxMSW but necessary
when using just an icon).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-06 16:32:33 +00:00
Vadim Zeitlin
c27eab7e9c
EVT_TEXT_UPDATED bug fixed, text ctrl callbacks simplified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-29 14:44:21 +00:00
Vadim Zeitlin
66a007fbcb
wxNO_BORDER honoured by wxTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-03-25 14:44:44 +00:00
Julian Smart
4dba84be23
Cured some Latex problems; fixed i declaration; fixed filedlg.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-03 10:01:34 +00:00
Julian Smart
2d120f8391
Added some tentative wxMotif clipboard code; did some file formatting
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-14 15:15:39 +00:00
Julian Smart
94b49b9303
In DialogEd, changed Close to Destroy to make it shut down properly.
...
Various Motif fixes incl. fixing window colours, menu fonts/colours, dialog box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-18 14:40:38 +00:00
Julian Smart
a367b9b3f8
More progress on wxMotif, incl. wxTreeCtrl/wxListCtrl beginning to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-04 10:30:39 +00:00
Julian Smart
8aa04e8bf1
Accelerators implemented for wxMotif; some wxComboBox stupidities cured
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-12 22:47:51 +00:00
Julian Smart
0280030162
Motif wxNotebook about done; added print/preview to OGLEdit sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-27 17:58:46 +00:00
Julian Smart
4b5f3fe655
Motif and other mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-26 17:10:25 +00:00
Julian Smart
321db4b6bf
More Motif changes (colour/font stuff)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-23 18:22:30 +00:00
Julian Smart
1a3ac83faf
More-or-less finished reasonably cool wxToolBar class with tooltips.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-22 14:08:14 +00:00
Julian Smart
0d57be4594
More Motif stuff incl. beginnings of wxToolBar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-21 21:43:20 +00:00
Julian Smart
a4294b7832
Motif additions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-18 22:31:48 +00:00
Julian Smart
dfc5454127
More Motif stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-20 20:59:30 +00:00
Julian Smart
02e8b2f9fb
More Motif stuff, minor stubs correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-20 07:35:20 +00:00
Julian Smart
4bb6408c26
Motif files added.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-09-18 10:14:43 +00:00