]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/sashwin.h
protect access to ms_aTraceMasks with a critical section (replaces patch 1911172)
[wxWidgets.git] / interface / sashwin.h
index 87fc7604e1b797d4f1b720ffafa08e3588aa2d5a..668efc79e67ac1232671321b8d31082edc2b482f 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        sashwin.h
-// Purpose:     documentation for wxSashWindow class
+// Purpose:     interface of wxSashWindow
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
 // Licence:     wxWindows license
@@ -41,8 +41,7 @@
     @library{wxadv}
     @category{miscwnd}
 
-    @seealso
-    wxSashEvent, wxSashLayoutWindow, @ref overview_eventhandlingoverview
+    @see wxSashEvent, wxSashLayoutWindow, @ref overview_eventhandlingoverview
 */
 class wxSashWindow : public wxWindow
 {
@@ -86,12 +85,12 @@ public:
     /**
         Gets the maximum window size in the x direction.
     */
-    int GetMaximumSizeX();
+    int GetMaximumSizeX() const;
 
     /**
         Gets the maximum window size in the y direction.
     */
-    int GetMaximumSizeY();
+    int GetMaximumSizeY() const;
 
     /**
         Gets the minimum window size in the x direction.
@@ -101,7 +100,7 @@ public:
     /**
         Gets the minimum window size in the y direction.
     */
-    int GetMinimumSizeY();
+    int GetMinimumSizeY() const;
 
     /**
         Returns @true if a sash is visible on the given edge, @false otherwise.
@@ -111,7 +110,7 @@ public:
         
         @see SetSashVisible()
     */
-    bool GetSashVisible(wxSashEdgePosition edge);
+    bool GetSashVisible(wxSashEdgePosition edge) const;
 
     /**
         Returns @true if the sash has a border, @false otherwise.
@@ -122,7 +121,7 @@ public:
         
         @see SetSashBorder()
     */
-    bool HasBorder(wxSashEdgePosition edge);
+    bool HasBorder(wxSashEdgePosition edge) const;
 
     /**
         Sets the maximum window size in the x direction.
@@ -169,6 +168,7 @@ public:
 };
 
 
+
 /**
     @class wxSashEvent
     @wxheader{sashwin.h}
@@ -179,8 +179,7 @@ public:
     @library{wxadv}
     @category{FIXME}
 
-    @seealso
-    wxSashWindow, @ref overview_eventhandlingoverview
+    @see wxSashWindow, @ref overview_eventhandlingoverview
 */
 class wxSashEvent : public wxCommandEvent
 {
@@ -195,7 +194,7 @@ public:
         resize was applied. It is
         up to the application to set the window size if required.
     */
-    wxRect GetDragRect();
+    wxRect GetDragRect() const;
 
     /**
         Returns the status of the sash: one of wxSASH_STATUS_OK,
@@ -203,11 +202,12 @@ public:
         If the drag caused the notional bounding box of the window to flip over, for
         example, the drag will be out of rage.
     */
-    wxSashDragStatus GetDragStatus();
+    wxSashDragStatus GetDragStatus() const;
 
     /**
         Returns the dragged edge. The return value is one of wxSASH_TOP, wxSASH_RIGHT,
         wxSASH_BOTTOM, wxSASH_LEFT.
     */
-    wxSashEdgePosition GetEdge();
+    wxSashEdgePosition GetEdge() const;
 };
+