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
Vadim Zeitlin
f536319dee
compilation fix after operator==() removal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 22:58:02 +00:00
Vadim Zeitlin
fea35690f1
Added wxMemoryDC::SelectObjectAsSource() and make SelectObject() unshare
...
the bitmap to ensure that no other bitmaps are modified; also remove some code
duplication by introducing wxMemoryDCBase (patch 1580745)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:41:46 +00:00
Mattia Barbon
9fd8f2dd3d
Fix setting the clipping region for a DC when the region is an
...
actual wxRegion.
Fix some positioning/sizing bugs, mosting affecting controls
inside scrolled windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 15:51:35 +00:00
Robin Dunn
432efcb004
wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
...
calling SelectObject itself if a valid bitmap is passed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 18:48:36 +00:00
Vadim Zeitlin
ee2ec18e88
moved DoSetValue() to wxTextCtrlBase instead of having it in almost, but not quite all, derived classes; linking fixes for wxCocoa/wxX11/wxMotif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:40:14 +00:00
Vadim Zeitlin
b7cacb43db
add IsOk() to all classes having Ok() method (patch 1570985)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:56:55 +00:00
Vadim Zeitlin
f6519b40fe
added wxTextCtrl::ChangeValue() which is the same as SetValue() but doesn't send the text changed event (first part of patch 1553551)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:46:12 +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
Vadim Zeitlin
0d194444a7
avoid flicker in methods which don't change listbox size by not calling XtUnmanage/ManageChild() unnecessarily (patch 1566670)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:55:49 +00:00
Jouk Jansen
a843055617
Update OpenVMS make files
...
Modified Files:
wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
wxWidgets/src/gtk1/descrip.mms wxWidgets/src/motif/descrip.mms
wxWidgets/src/univ/descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-22 13:04:18 +00:00
Jouk Jansen
f97d937077
Include "xrc" support properly for OpenVMS
...
Modified Files:
wxWidgets/descrip.mms wxWidgets/setup.h_vms
wxWidgets/lib/VMS_GTK2.OPT wxWidgets/lib/VMS_X11_UNIV.OPT
wxWidgets/lib/vms_gtk.opt wxWidgets/src/common/descrip.mms
wxWidgets/src/generic/descrip.mms
wxWidgets/src/gtk1/descrip.mms wxWidgets/src/motif/descrip.mms
wxWidgets/src/xrc/descrip.mms
Added Files:
wxWidgets/samples/xrc/descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-19 11:59:21 +00:00
Vadim Zeitlin
aea95b1c3a
removed overloaded virtual InitWith() methods, keep just a single InitRGBA()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-10 02:00:24 +00:00
Paul Cornett
73216ce6f0
include fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 18:00:18 +00:00
Vadim Zeitlin
d3c7fc996a
mark all dtors which are virtual because base class dtor is virtual explicitly virtual themselves
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-05 20:47:48 +00:00
Robert Roebling
4fc3eebc01
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 20:12:44 +00:00
Robert Roebling
ee0a94cfc2
Commited FRM's stockitem patch (empty stock items).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-03 12:23:04 +00:00
Włodzimierz Skiba
02761f6cd4
Include wx/module.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 19:31:43 +00:00
Jouk Jansen
097b868b5a
Patches for OpenVMS port
...
Modified Files:
wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
wxWidgets/src/generic/descrip.mms
wxWidgets/src/gtk/descrip.mms wxWidgets/src/gtk1/descrip.mms
wxWidgets/src/motif/descrip.mms wxWidgets/src/x11/descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 06:56:52 +00:00
Vadim Zeitlin
db927071d5
don't use deprecated wxStripMenuCodes overload
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 23:21:18 +00:00
Vadim Zeitlin
2158f4d798
moved all wxDialog event handlers to wxDialogBase to avoid code duplication
...
(sixplication?) among ports; as a side effect added public wxDialog methods to
wxDialogBase as well and moved EndDialog() (previously implemented by wxMSW,
wxMotif, wxMac and wxCocoa but not the other ports) to wxDialogBase too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:56:11 +00:00
Vadim Zeitlin
0be2741893
centralized Esc key handling for closing the dialogs in wxDialogBase:
...
1. added wxDialogBase::OnCharHook() and removed this event handler from
all the other ports
2. also removed ad hoc code doing the same thing in wxMSW (MSWProcessMessage()
override in wxDialog) and wxGTK (in gtk_window_key_press_callback())
3. reimplemented EmulateButtonClickIfPresent() portably and also moved it
to wxDialogBase from wxMSW wxDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 22:36:10 +00:00
Václav Slavík
5819f832e6
moved IMPLEMENT_DYNAMIC_CLASS(wxGDIObject,wxObject) line to gdicmn.cpp so that we don't have to have several identical gdiobj.cpp files containing only it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-16 14:53:49 +00:00
Vadim Zeitlin
8bb6b2c057
wxPlatformInfo (patch 1532064)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:00:32 +00:00
Michael Wetherell
bc023abbbb
Detect and use sys/select.h required by POSIX for select
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 11:18:24 +00:00
Włodzimierz Skiba
28f92d74ee
Include wx/dataobj.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-27 12:57:16 +00:00
Vadim Zeitlin
32cd189dfc
use GetLabelText() instead of wxStripMenuCodes() to avoid stripping the part of the string after TAB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 18:47:39 +00:00
Włodzimierz Skiba
2cdcee612a
PCH build fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 06:50:19 +00:00
Vadim Zeitlin
6c20e8f816
move default button handling code from wxControlContainer to wxTLW (patch 1524441)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40307 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 01:31:13 +00:00
Włodzimierz Skiba
23f826bdf9
wxRound() workaround to avoid unexpected compile and link errors on incomplete environments (Tinderbox build fix).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-06 09:09:09 +00:00
Włodzimierz Skiba
155ecd4c42
Include wx/image.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-03 19:02:54 +00:00
Julian Smart
9d11268884
Added wxTextCtrlBase to type info, useful if different text control
...
implementations are available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-02 07:41:02 +00:00
Włodzimierz Skiba
df69528b7e
Include wx/hashmap.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-20 10:24:07 +00:00
Włodzimierz Skiba
dd05139a80
Include wx/gdicmn.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 20:18:46 +00:00
Włodzimierz Skiba
25466131ac
Include wx/menuitem.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-19 07:12:50 +00:00
Michael Wetherell
af1a6227cc
Make wxMouseState's alt and meta match those in events
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 20:33:38 +00:00
Włodzimierz Skiba
18680f8651
Include wx/math.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 17:58:49 +00:00
Michael Wetherell
0cbc5287be
Implement wxGetMouseState
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-15 13:57:45 +00:00
Włodzimierz Skiba
0bca037363
Include wx/bitmap.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-14 10:02:19 +00:00
Włodzimierz Skiba
aaa6d89a0d
Include wx/arrstr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-13 11:30:40 +00:00
Włodzimierz Skiba
3304646d06
Include wx/statusbr.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-09 09:51:39 +00:00
Włodzimierz Skiba
5b56bffb33
Include wx/memory.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 12:51:01 +00:00
Włodzimierz Skiba
ed2fbeb835
Include wx/sizer.h and wx/layout.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-08 06:57:39 +00:00
Włodzimierz Skiba
4e3e485bc8
Include wx/toolbar.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 17:46:13 +00:00
Włodzimierz Skiba
1ab440bc20
Include wx/scrolwin.h and wx/dirdlg.h according to precompiled headers of wx/wx.h (with other minor cleaning).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-07 11:44:19 +00:00
Vadim Zeitlin
85ab460e7d
miscellaneous wxFont enhancements (patch 1496606):
...
- made SetFaceName() bool and return false if the face name is not available
- corrected To/FromUserString() to complement each other
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-29 00:03:36 +00:00
Vadim Zeitlin
ff3e84ffdc
File/dir dialog styles and other changes (patch 1488371):
...
- check invalid combinations of styles in wxFileDialogBase::Create()
- use wxFD_XXX naming convention for wxFileDialog styles
- replaces wxDD_NEW_DIR_BUTTON with wxDD_DIR_MUST_EXIST
- removes #ifdef __WXGTK24__ / #endif blocks from wxGTK code
- removes wxFileDialogBase::Get/SetStyle and wxFileDialogBase::m_fileName
- renames wxDirDialogGTK to wxDirDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-28 23:32:12 +00:00
Paul Cornett
e7445ff8ee
move some data definitions to more appropriate places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-26 16:12:31 +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