Vadim Zeitlin
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Vadim Zeitlin
d3b9f782ef
don't use annoying and unneeded in C++ casts of NULL to "T *" in all other files neither
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 13:55:27 +00:00
Vadim Zeitlin
455f7c8205
do VMS-specific X symbols redefinitions only once in wx/platform.h instead of doing it in individual files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-01 20:38:33 +00:00
Mattia Barbon
105fbe1ffa
Rework wxMotif font/color inheritance so it works
...
like in the other ports. Avoid setting foreground/background
color for windows and let the toolkit use the natural color.
As an intermediate step font is still explicitly set.
Handle the cases where m_foregroundColour, m_backgroundColour ir m_font
are not initialized.
Set default (overridable) X resources to emulate the old look.
Unify wxMOTIF_NEW_FONT_HANDLING with wxMOTIF_USE_RENDER_TABLE.
Minor unrelated (sizing) fixes to wxCheckListBox, wxStaticText, wxTextCtrl.
Tagged with MOTIF_BEFORE_COLOUR_FONT_INHERITANCE before the changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 21:18:33 +00:00
Vadim Zeitlin
07d02e9ee0
fixed all the other ports broken by controls labels in wxToolBar patch commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:57:20 +00:00
Vadim Zeitlin
d408730ce4
ensure that wxToolBar has one of wxTB_TOP/LEFT/RIGHT/BOTTOM styles set, otherwise the latest toolbar positioning code breaks down
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 13:09:08 +00:00
Mattia Barbon
3e0071d949
Fix buffer overrun in Linux/x86_64 (Pixel is a 64 bit long, passing
...
a 32 bit int pointer to XtVaGetValues will cause trouble). Using a long
should suffice. A configure test would be better.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:34:25 +00:00
Włodzimierz Skiba
9eddec696f
Include wx/settings.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-24 07:16:32 +00:00
Włodzimierz Skiba
c0badb709a
Include wx/timer.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-23 11:04:37 +00:00
Włodzimierz Skiba
76b49cf49b
Include wx/frame.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-05 08:10:55 +00:00
Włodzimierz Skiba
670f993563
Include wx/app.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-28 12:44:37 +00:00
Włodzimierz Skiba
355b4d3de5
wxMotif for OS/2 adjustements. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-06 12:10:44 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Vadim Zeitlin
002ceb3840
tremoved unused variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-17 21:01:39 +00:00
Vadim Zeitlin
62f864c32c
removed USE_SHARED_LIBRARY mentions (and all variations in spelling) (patch 1231184)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-28 22:08:31 +00:00
Mattia Barbon
96be256b3e
Replaced TRUE and FALSE with true and false
...
(or True and False when calling Motif APIs).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 17:38:33 +00:00
Mattia Barbon
6707bb9406
Patch #1003174 : Fixes crash when toolbar has a disabled control
...
from Ian Brown.
If you put a control (e.g. a wxChoice) on a toolbar and then
later disable that control, you will get a crash. This is because
the toolbar code always calls disable on the button widget for a
toolbartool. When the tool is a control, there is no button, and
you should call disable on the control instead.
This small patch implements this logic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-28 19:10:31 +00:00
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Mattia Barbon
1248b41f9f
Precompiled headers support.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 17:00:40 +00:00
Václav Slavík
14f355c2b5
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:46:53 +00:00
Vadim Zeitlin
2eb10e2a17
more warning fixes; removed references to wxToolBarBase from wxRTTI
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 01:42:41 +00:00
Mattia Barbon
ac32ba44a1
wxX11 and wxMotif STL-ification, part 1. it does not compile.
...
yet, but keeps the diff between my local copy and HEAD < 4000
lines...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-21 20:00:38 +00:00
Mattia Barbon
a8680e3e0e
Code clanup: removed some useless/unused member
...
variables/functions from wxWindow; used
wxTranslateMouseEvent instead of duplicating its
functionality.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-14 17:27:28 +00:00
Mattia Barbon
aae0472bf3
Use the wxBitmap implementation from wxX11
...
in wxMotif; solves various bugs related to wxMask
handling (and effectively adds a lot of wxMask
functionality previously missing).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:44:27 +00:00
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
00dd3b1897
Do not #include an header where a forward declaration suffixes. Do not
...
include wx/wx.h directly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-03 20:56:40 +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
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
Julian Smart
96c3039d9a
Applied patch [ 585436 ] motif toolbar control alignment fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-07-23 17:31:31 +00:00
Vadim Zeitlin
fcb35b5f05
wxMotif toolbar compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 11:26:04 +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
12ed316d02
Added DECLARE/IMLEMENT_CLASS for wxToolBarBase
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-10-06 16:52:29 +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
Julian Smart
f3979fcc3b
Oops, compile errors...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-11 10:49:46 +00:00
Julian Smart
66f55ec64c
Doc corrections, wxMotif toolbar AddControl implementation (untested as yet)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 16:06:33 +00:00
Julian Smart
7b28757f5e
Mmedia, OGL lib directory changes; omitted naughty wxGA_SMOOTH style from wxProgressDialog;
...
wxMotif toolbar fix; ~wxWindow Motif fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-09 20:15:44 +00:00
Vadim Zeitlin
e838cc1468
1. wxMotif toolbar works; the toggle buttons have the same width as the other
...
ones and not twice as big
2. wxMotif::wxBitmap(from XPM) ctor now takes either "char **" or "const char
**", as in wxGTK
3. added an X error handler to wxMotif (debug only)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 19:36:05 +00:00
Vadim Zeitlin
982b2cfc58
compilation fixes, doesn't work yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 18:10:38 +00:00
Vadim Zeitlin
8a0681f933
merging in the toolbar changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:47:54 +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
Vadim Zeitlin
148c45edfb
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:26:50 +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
bf6c2b3505
1. wxGrid fixes contributed by Gerhard Gruber (client data for cells...)
...
2. Motif warnings removed
3. Using native msgbox under Motif (ok, it doesn't work, but generic doesn't
work neither)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-29 13:13:11 +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
a91b47e800
Solved wxMotif scrolling display problem; added wxImageModule;
...
added wxRETAINED support in wxMotif; changed wxDC::SetBackground behaviour;
changed OnKeyDown/OnChar behaviour; fixed wxToolBar toggle bugs; fixed
wxImage on wxMotif bug whereby new was used to allocate XImage data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-11 16:00:33 +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
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
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