]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/listbook.h
Add test for absence of events from wxSpinCtrlDouble ctor.
[wxWidgets.git] / interface / wx / listbook.h
index 5578ddd221c2beaac796956f5abe83db9db0e2da..2561f3931fd480be47b45f58210126c54fde36ee 100644 (file)
@@ -2,10 +2,20 @@
 // Name:        listbook.h
 // Purpose:     interface of wxListbook
 // Author:      wxWidgets team
 // Name:        listbook.h
 // Purpose:     interface of wxListbook
 // Author:      wxWidgets team
-// RCS-ID:      $Id$
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
+// wxListbook flags
+#define wxLB_DEFAULT          wxBK_DEFAULT
+#define wxLB_TOP              wxBK_TOP
+#define wxLB_BOTTOM           wxBK_BOTTOM
+#define wxLB_LEFT             wxBK_LEFT
+#define wxLB_RIGHT            wxBK_RIGHT
+#define wxLB_ALIGN_MASK       wxBK_ALIGN_MASK
+
+wxEventType wxEVT_LISTBOOK_PAGE_CHANGED;
+wxEventType wxEVT_LISTBOOK_PAGE_CHANGING;
+
 /**
     @class wxListbook
 
 /**
     @class wxListbook
 
     @beginEventEmissionTable{wxBookCtrlEvent}
     @event{EVT_LISTBOOK_PAGE_CHANGED(id, func)}
         The page selection was changed.
     @beginEventEmissionTable{wxBookCtrlEvent}
     @event{EVT_LISTBOOK_PAGE_CHANGED(id, func)}
         The page selection was changed.
-        Processes a @c wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED event.
+        Processes a @c wxEVT_LISTBOOK_PAGE_CHANGED event.
     @event{EVT_LISTBOOK_PAGE_CHANGING(id, func)}
         The page selection is about to be changed.
     @event{EVT_LISTBOOK_PAGE_CHANGING(id, func)}
         The page selection is about to be changed.
-        Processes a @c wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING event.
+        Processes a @c wxEVT_LISTBOOK_PAGE_CHANGING event.
         This event can be vetoed.
     @endEventTable
 
     @library{wxcore}
     @category{bookctrl}
         This event can be vetoed.
     @endEventTable
 
     @library{wxcore}
     @category{bookctrl}
-    @appearance{listbook.png}
+    @appearance{listbook}
 
     @see wxBookCtrl, wxNotebook, @ref page_samples_notebook
 */
 
     @see wxBookCtrl, wxNotebook, @ref page_samples_notebook
 */
@@ -67,6 +77,17 @@ public:
                long style = 0,
                const wxString& name = wxEmptyString);
 
                long style = 0,
                const wxString& name = wxEmptyString);
 
+    /**
+       Create the list book control that has already been constructed with
+       the default constructor.
+    */
+    bool Create(wxWindow *parent,
+                wxWindowID id,
+                const wxPoint& pos = wxDefaultPosition,
+                const wxSize& size = wxDefaultSize,
+                long style = 0,
+                const wxString& name = wxEmptyString);
+
     /**
         Returns the wxListView associated with the control.
     */
     /**
         Returns the wxListView associated with the control.
     */