]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/listbook.h
fix reference counting problems with wxGridCellWithAttr (re-#9567)
[wxWidgets.git] / interface / listbook.h
index 044194e42385cf088da6d58b8d0b99a55c9820d0..28855b7ef39b74cdb3693edbfc69940d5e1e009e 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        listbook.h
-// Purpose:     documentation for wxListbook class
+// Purpose:     interface of wxListbook
 // Author:      wxWidgets team
 // RCS-ID:      $Id$
 // Licence:     wxWindows license
@@ -9,36 +9,39 @@
 /**
     @class wxListbook
     @wxheader{listbook.h}
-    
+
     wxListbook is a class similar to wxNotebook but which
     uses a wxListCtrl to show the labels instead of the
     tabs.
-    
+
+    The underlying wxListCtrl displays page labels in a one-column report view
+    by default.  Calling wxListbook::SetImageList will implicitly switch the
+    control to use an icon view.
+
     There is no documentation for this class yet but its usage is
     identical to wxNotebook (except for the features clearly related to tabs
     only), so please refer to that class documentation for now. You can also
     use the @ref overview_samplenotebook "notebook sample" to see wxListbook in
     action.
-    
+
     @beginStyleTable
-    @style{wxLB_DEFAULT}:
+    @style{wxLB_DEFAULT}
            Choose the default location for the labels depending on the current
            platform (left everywhere except Mac where it is top).
-    @style{wxLB_TOP}:
+    @style{wxLB_TOP}
            Place labels above the page area.
-    @style{wxLB_LEFT}:
+    @style{wxLB_LEFT}
            Place labels on the left side.
-    @style{wxLB_RIGHT}:
+    @style{wxLB_RIGHT}
            Place labels on the right side.
-    @style{wxLB_BOTTOM}:
+    @style{wxLB_BOTTOM}
            Place labels below the page area.
     @endStyleTable
-    
+
     @library{wxcore}
     @category{miscwnd}
-    
-    @seealso
-    wxBookCtrl, wxNotebook, @ref overview_samplenotebook "notebook sample"
+
+    @see wxBookCtrl(), wxNotebook, @ref overview_samplenotebook "notebook sample"
 */
 class wxListbook : public wxBookCtrl overview
 {
@@ -48,10 +51,11 @@ public:
         Constructs a listbook control.
     */
     wxListbook();
-        wxListbook(wxWindow* parent, wxWindowID id,
-                   const wxPoint& pos = wxDefaultPosition,
-                   const wxSize& size = wxDefaultSize,
-                   long style = 0,
-                   const wxString& name = wxEmptyStr);
+    wxListbook(wxWindow* parent, wxWindowID id,
+               const wxPoint& pos = wxDefaultPosition,
+               const wxSize& size = wxDefaultSize,
+               long style = 0,
+               const wxString& name = wxEmptyStr);
     //@}
 };
+