]> git.saurik.com Git - wxWidgets.git/commitdiff
wxDEFAULT_STATUSBAR_STYLE
authorRobin Dunn <robin@alldunn.com>
Mon, 4 Apr 2005 23:55:08 +0000 (23:55 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 4 Apr 2005 23:55:08 +0000 (23:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/include/wx/wxPython/wxPython_int.h
wxPython/src/__core_rename.i
wxPython/src/_defs.i
wxPython/wxPython/_core.py

index 105aa18ef5c9b23f3b070981dfb2d789067b69ee..44886701d56344886c842aae45ad93f0993f1cf8 100644 (file)
@@ -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*);
index 5ae38d0fc0fda946524164506a3a63556d6a4abc..ae14e7969425f83a514458dfaa24cba2edff439c 100644 (file)
@@ -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;
index 5e14df96289330081606e7cb30ba67a4de3b9de0..46fcd11a0a9e182d427d6132e00b06cd78690515 100644 (file)
@@ -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,
index d9111019895f5d4a5788868ddb2e9048ed49ec42..8f9555e558e503bd52c01b48a57f7fcd3c2e37e1 100644 (file)
@@ -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