]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sizer.h
Added SetSheetStyle to property sheet dialog to allow specification
[wxWidgets.git] / include / wx / sizer.h
index 4593844fdbb94fd52a30b5e24b632615403befaa..53dde1a4bf464c5c7cf06379e3eb5c460ec2e192 100644 (file)
@@ -54,7 +54,7 @@ public:
 
     wxSizerFlags& Align(int alignment) // combination of wxAlignment values
     {
-        m_flags &= wxALIGN_MASK;
+        m_flags &= ~wxALIGN_MASK;
         m_flags |= alignment;
 
         return *this;
@@ -255,6 +255,8 @@ public:
     void Show(bool show);
     bool IsShown() const;
 
+    void SetUserData(wxObject* userData)
+        { delete m_userData; m_userData = userData; }
     wxObject* GetUserData() const
         { return m_userData; }
     wxPoint GetPosition() const