// OBSOLETE - use wxNO_CTL3D instead
#define wxNO_3D 0x00800000
// Override CTL3D or native 3D styles for children
-#define wxOVERRIDE_KEY_TRANSLATIONS 0x00400000
- // TODO: do we need this??? (Motif only)
+#define wxCLIP_CHILDREN 0x00400000
+ // Clip children when painting, which reduces flicker in
+ // e.g. frames and splitter windows, but can't be used in
+ // a panel where a static box must be 'transparent' (panel
+ // paints the background for it)
// Add this style to a panel to get tab traversal working
// outside of dialogs.
#define wxDIALOG_MODAL 0x0020
#define wxDIALOG_MODELESS 0x0000
-#define wxDEFAULT_FRAME_STYLE (wxRESIZE_BORDER | wxMINIMIZE_BOX | wxMAXIMIZE_BOX | wxTHICK_FRAME | wxSYSTEM_MENU | wxCAPTION)
+#define wxDEFAULT_FRAME_STYLE (wxRESIZE_BORDER | wxMINIMIZE_BOX | wxMAXIMIZE_BOX | wxTHICK_FRAME | wxSYSTEM_MENU | wxCAPTION | wxCLIP_CHILDREN)
#if WXWIN_COMPATIBILITY
#define wxDEFAULT_FRAME wxDEFAULT_FRAME_STYLE
* wxStatusBar95 flags
*/
-#define wxSB_SIZEGRIP 0x0002
+#define wxST_SIZEGRIP 0x0002
/*
* GDI descriptions
// Normal constructor
wxSplitterWindow(wxWindow *parent, const wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize, const long style = wxSP_3D, const wxString& name = "splitter");
+ const wxSize& size = wxDefaultSize, const long style = wxSP_3D|wxCLIP_CHILDREN, const wxString& name = "splitter");
~wxSplitterWindow(void);
// Gets the only or left/top pane
// headers
// ----------------------------------------------------------------------------
+#include "wx/setup.h"
+
// an exception to the general rule that a normal header doesn't include other
// headers - only because ownerdrw.h is not always included and I don't want
// to write #ifdef's everywhere...
#define USE_PENWINDOWS 0
// Set to 1 to use PenWindows
-#define USE_OWNER_DRAWN 1
+#define USE_OWNER_DRAWN 0
// Owner-drawn menus and listboxes
#define USE_NATIVE_STATUSBAR 1
public:
// ctors
wxStatusBar95();
- wxStatusBar95(wxWindow *parent, wxWindowID id = -1, long style = wxSB_SIZEGRIP);
+ wxStatusBar95(wxWindow *parent, wxWindowID id = -1, long style = wxST_SIZEGRIP);
// create status line
- bool Create(wxWindow *parent, wxWindowID id = -1, long style = wxSB_SIZEGRIP);
+ bool Create(wxWindow *parent, wxWindowID id = -1, long style = wxST_SIZEGRIP);
// a status line can have several (<256) fields numbered from 0
virtual void SetFieldsCount(int number = 1, const int *widths = NULL);