]> git.saurik.com Git - wxWidgets.git/commitdiff
change Has/SetFlag() to take int instead of unsigned as the latter provokes VC7 warnings
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Nov 2008 13:13:27 +0000 (13:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 20 Nov 2008 13:13:27 +0000 (13:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/aui/framemanager.h
interface/wx/aui/framemanager.h

index 87bc77ab6635223e2ca4a282b5db1f6b2646eadc..00de34da6a91f1c0000d38f49ae668520233d957 100644 (file)
@@ -331,7 +331,7 @@ public:
         return *this;
     }
 
-    wxAuiPaneInfo& SetFlag(unsigned int flag, bool option_state)
+    wxAuiPaneInfo& SetFlag(int flag, bool option_state)
     {
         if (option_state)
             state |= flag;
@@ -340,7 +340,7 @@ public:
         return *this;
     }
 
-    bool HasFlag(unsigned int flag) const
+    bool HasFlag(int flag) const
     {
         return (state & flag) != 0;
     }
index 6e6d5ad581272802de1d74f345e723f60a76afa9..2ad6b9471f78e729bf5c696f2665d33dbe591287 100644 (file)
@@ -284,7 +284,7 @@ public:
         This method is used to specify wxAuiManager's settings flags. @a flags
         specifies options which allow the frame management behavior to be modified.
     */
-    void SetFlags(unsigned int flags);
+    void SetFlags(int flags);
 
     /**
         Called to specify the frame or window which is to be managed by wxAuiManager.
@@ -516,10 +516,10 @@ public:
     bool HasCloseButton() const;
 
     /**
-        HasFlag() returns @true if the the property specified by flag is active for the
-        pane.
+        HasFlag() returns @true if the property specified by flag is active for
+        the pane.
     */
-    bool HasFlag(unsigned int flag) const;
+    bool HasFlag(int flag) const;
 
     /**
         HasGripper() returns @true if the pane displays a gripper.