Mattia Barbon
aae91497f6
Removed some old cruft from wxBitmap, moved wxMotif- and
...
wxControl-specific functionality (GetXXXPixmap) into a separate
class, and fixed the implementation. Adapted wxStaticBitmap,
wxBitmapButton and wxToolBar to the new situation.
Various fixes to wxToolBar: Realize does not create buttons
multiple times anymore, use the disabled bitmap as the disabled
bitmap, not as the toggled bitmap for toggle buttons (!),
reposition buttons/controls when a tool is removed/deleted.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-27 19:40:32 +00:00
Mattia Barbon
2187eef5bb
Calling a virtual function from a destructor is not good:
...
rearranged code to avoid it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-26 22:22:55 +00:00
Mattia Barbon
ed39ff57b3
Remove unnecessary header dependencies. Fix resulting compilation
...
problems for wxMSW, wxGTK, wxMotif, wxX11 and wxMac in default
configuration. Non-default configurations will probably need some more
fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-10 21:07:36 +00:00
Mattia Barbon
1bc822dfb5
Derive wxBitmap from wxBitmapBase in wxMotif, with the appropriate
...
changes to wxIcon.
Fix deprecation warnings and use %p to format WXWidget in debug output
(fixes the 4 non-deprecation warnings).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-19 09:52:29 +00:00
Mattia Barbon
fd304d989b
Fix some wxMotif build warnings about deprecated methods.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-18 13:01:17 +00:00
Mattia Barbon
46675b4610
Implement vertical toolbar under Motif.
...
Notify parent frame when toolbar is moved/resized/added/deleted so that
frame childs can be correctly repositioned.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-16 20:41:07 +00:00
Mattia Barbon
798a4529fe
Implemented wxToplevelWindowMotif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-01-06 16:36:23 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Mattia Barbon
f618020a15
wxIconBundle implementation.
...
wxTLW::SetIcons() properly implemented for wxMotif, wxGTK, wxMSW, wxX11, wxUniversal
Placeholders that just call SetIcon for wxOS2 and wxMac.
Regenerated makefiles.
Added hardwired wxSYS_ICON_X/Y = 32 for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:54:23 +00:00
Julian Smart
16e8bf31bb
Removed duplicate WM line from motif/frame.cpp
...
Added window style to minimal sample
Failed attempt to get border-only toplevel window style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-14 10:21:07 +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
Jouk Jansen
4dff340069
Committing in .
...
Modified Files:
wxWindows/setup.h_vms wxWindows/demos/bombs/descrip.mms
wxWindows/lib/vms.opt wxWindows/samples/caret/descrip.mms
wxWindows/samples/checklst/descrip.mms
wxWindows/samples/config/descrip.mms
wxWindows/samples/controls/descrip.mms
wxWindows/samples/dialogs/descrip.mms
wxWindows/samples/drawing/descrip.mms
wxWindows/samples/image/descrip.mms
wxWindows/samples/mdi/descrip.mms
wxWindows/samples/menu/descrip.mms
wxWindows/samples/minimal/descrip.mms
wxWindows/samples/resource/descrip.mms
wxWindows/src/common/descrip.mms
wxWindows/src/common/gdicmn.cpp
wxWindows/src/generic/descrip.mms
wxWindows/src/motif/choice.cpp wxWindows/src/motif/descrip.mms
wxWindows/src/motif/font.cpp wxWindows/src/motif/frame.cpp
wxWindows/src/motif/gauge.cpp wxWindows/src/motif/listbox.cpp
wxWindows/src/motif/menu.cpp wxWindows/src/motif/msgdlg.cpp
wxWindows/src/motif/toolbar.cpp wxWindows/src/motif/window.cpp
wxWindows/src/motif/xmcombo/xmcombo.c
wxWindows/src/unix/descrip.mms
wxWindows/utils/dialoged/src/descrip.mms
Added Files:
wxWindows/include/wx/vms_x_fix.h
VMS patches
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-08-24 10:58:27 +00:00
Stefan Neis
cf58a48f62
Add Child to parent instead of adding it to itself!
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-07 11:48:36 +00:00
Julian Smart
dc1efb1d9f
Some Motif fixes; makefile fixes; added wxTransferStreamToFile/FileToStream for wxWin
...
streams; fixed wxSP_... ids that clashed with wxTextCtrl; added generic GetPixel implementation for GTK/Motif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 15:04:24 +00:00
Vadim Zeitlin
176513eb42
more patches for BC++ from Ricky Gonzales
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 15:51:26 +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
Vadim Zeitlin
1c4f8f8d18
1. wxMotif::wxFrame derives from wxFrameBase now
...
2. wxFrame::GetClientAreaOrigin() made common to all ports and documented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 15:23:56 +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
449f38b57e
Do... fixes and OnMenuHighlight correction (so MDI sample now works)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 09:15:42 +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
Vadim Zeitlin
da8bed9bfd
= replaced with ==
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 12:31:35 +00:00
Robert Roebling
c0854a089c
Corrected Motif build,
...
Updated testconf
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-11 13:36:47 +00:00
Robert Roebling
8e877c195b
New makefiles for GTK and Motif, using configure but not
...
libtool and automake.
Numerous Motif crash fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-10 20:08:24 +00:00
Michael Bedward
447a039fa3
wxFrame::Create now sets (arbitrary) values for position and size if default values of -1 have been used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-09 07:23:59 +00:00
Michael Bedward
3ab377bd1a
Added code to set m_isBeingDeleted as per wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-08-02 06:00:17 +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
Vadim Zeitlin
dfe1eee3bb
my wxMotif fixes (merged with Robert's changes), wxMotif compiles, links
...
and runs... until you click in the menu, that is.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-29 12:34:18 +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
Julian Smart
6c41a418df
Changed the focus-window event handling back
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-04-08 14:42:46 +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
Vadim Zeitlin
bfc6fde4b1
GetSize() and GetClientSize() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-22 11:01:13 +00:00
Julian Smart
2e35f56f6d
Fixed wxMotif's wxExecute again, added OnPaint capability to wxFrame,
...
removed old focus code from wxGTK's ~wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 22:51:03 +00:00
Julian Smart
0492c5a094
Cured last focus bug (I hope); some wxMotif mods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-18 21:24:11 +00:00
Julian Smart
e306597309
Removed lots of OnClose functions; doc'ed OnCloseWindow better;
...
MM_... -> wxMM_...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 23:55:04 +00:00
Julian Smart
818e52c201
Changed GetForce -> !CanVeto
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-05 15:06:25 +00:00
Vadim Zeitlin
1ccbb61aba
1. wxMotif fixes for compilation in "no compatible" mode
...
2. Common fixes to be able to link minimal sample without stream classes, tree ctrl, list ctrl &c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-19 19:36:07 +00:00
Vadim Zeitlin
c75e66953f
compilation fixes for "nocompatibility" mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-19 13:18:51 +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
ee4c6942b4
Added some makefiles, cured some wxMotif bugs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-10 23:28:36 +00:00
Julian Smart
6f63ec3f93
Just a teeny change -- addition of wxFrame::IsMaximized. For wxMDIChildFrame
...
in wxGTK, is probably always TRUE (always size of client area).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-17 17:59:50 +00:00
Julian Smart
c0ed460c2e
Sorry folks, a lot of changes to remedy GetFont, GetBrush etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-12-08 23:26:18 +00:00
Julian Smart
7fe7d506b1
Various wxMotif changes including size optimisation and debugging operator fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-25 21:42:56 +00:00
Julian Smart
621793f45e
2nd attempt at MDI in wxMotif, using wxNotebook this time (still some probs).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-24 21:55:10 +00:00
Julian Smart
ea57084d10
Removed references to DEBUG and WXDEBUG; cured Motif font problem; removed
...
some warnings in OGL; fixed bug in wxChoice
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-09 11:57:05 +00:00
Julian Smart
87d1e11fd4
Minor changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-08 15:16:11 +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
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
8704bf74fb
More Motif additions: mdi and sashtest samples now just about work!
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-19 21:51:15 +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
89c7e96229
Motif updates
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-10-17 09:38:15 +00:00