From: Robin Dunn Date: Mon, 4 Apr 2005 23:55:08 +0000 (+0000) Subject: wxDEFAULT_STATUSBAR_STYLE X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5f57b149e60ac95a47d45409ae3a9c9acaee04be wxDEFAULT_STATUSBAR_STYLE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/include/wx/wxPython/wxPython_int.h b/wxPython/include/wx/wxPython/wxPython_int.h index 105aa18ef5..44886701d5 100644 --- a/wxPython/include/wx/wxPython/wxPython_int.h +++ b/wxPython/include/wx/wxPython/wxPython_int.h @@ -90,6 +90,13 @@ typedef wxPoint2DDouble wxPoint2D; #define SWIG_TYPE_TABLE wxPython_type_table #endif +#ifdef __WXGTK__ +#define wxDEFAULT_STATUSBAR_STYLE wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE +#else +#define wxDEFAULT_STATUSBAR_STYLE wxST_SIZEGRIP +#endif + + #ifndef wxPyUSE_EXPORTED_API void __wxPyPreStart(PyObject*); diff --git a/wxPython/src/__core_rename.i b/wxPython/src/__core_rename.i index 5ae38d0fc0..ae14e79694 100644 --- a/wxPython/src/__core_rename.i +++ b/wxPython/src/__core_rename.i @@ -16,6 +16,7 @@ %rename(TRANSPARENT_WINDOW) wxTRANSPARENT_WINDOW; %rename(NO_BORDER) wxNO_BORDER; %rename(DEFAULT_CONTROL_BORDER) wxDEFAULT_CONTROL_BORDER; +%rename(DEFAULT_STATUSBAR_STYLE) wxDEFAULT_STATUSBAR_STYLE; %rename(TAB_TRAVERSAL) wxTAB_TRAVERSAL; %rename(WANTS_CHARS) wxWANTS_CHARS; %rename(POPUP_WINDOW) wxPOPUP_WINDOW; diff --git a/wxPython/src/_defs.i b/wxPython/src/_defs.i index 5e14df9628..46fcd11a0a 100644 --- a/wxPython/src/_defs.i +++ b/wxPython/src/_defs.i @@ -259,21 +259,6 @@ typedef unsigned long wxUIntPtr; %enddef #endif -#ifdef _DO_FULL_DOCS - %define RenameDocCtorStr(newname, docstr, details, decl) - %feature("docstring") decl docstr details; - %rename(newname) decl; - decl - %enddef -#else - %define RenameDocCtorStr(newname, docstr, details, decl) - %feature("docstring") decl docstr; - %rename(newname) decl; - decl - %enddef -#endif - - // Set the autodoc string for a constructor decl and then define the decl too. // Must use the full declaration of the item. @@ -426,7 +411,8 @@ enum { wxTRANSPARENT_WINDOW, wxNO_BORDER, wxDEFAULT_CONTROL_BORDER, - + wxDEFAULT_STATUSBAR_STYLE, + wxTAB_TRAVERSAL, wxWANTS_CHARS, wxPOPUP_WINDOW, diff --git a/wxPython/wxPython/_core.py b/wxPython/wxPython/_core.py index d911101989..8f9555e558 100644 --- a/wxPython/wxPython/_core.py +++ b/wxPython/wxPython/_core.py @@ -32,6 +32,7 @@ wxSTATIC_BORDER = wx._core.STATIC_BORDER wxTRANSPARENT_WINDOW = wx._core.TRANSPARENT_WINDOW wxNO_BORDER = wx._core.NO_BORDER wxDEFAULT_CONTROL_BORDER = wx._core.DEFAULT_CONTROL_BORDER +wxDEFAULT_STATUSBAR_STYLE = wx._core.DEFAULT_STATUSBAR_STYLE wxTAB_TRAVERSAL = wx._core.TAB_TRAVERSAL wxWANTS_CHARS = wx._core.WANTS_CHARS wxPOPUP_WINDOW = wx._core.POPUP_WINDOW