]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/choicbkg.cpp
simplify Refresh() and Update()
[wxWidgets.git] / src / generic / choicbkg.cpp
index 4b3194bcc0a161ea48657fc039b52d0f7e2ed919..057071f96ec4df0556294645864217755367bb47 100644 (file)
@@ -189,9 +189,16 @@ bool wxChoicebook::SetPageImage(size_t WXUNUSED(n), int WXUNUSED(imageId))
 }
 
 // ----------------------------------------------------------------------------
-// image list stuff
+// miscellaneous other stuff
 // ----------------------------------------------------------------------------
 
+void wxChoicebook::DoSetWindowVariant(wxWindowVariant variant)
+{
+    wxCHECK_RET( m_bookctrl, "can't be called before control creation" );
+
+    m_bookctrl->SetWindowVariant(variant);
+}
+
 void wxChoicebook::SetImageList(wxImageList *imageList)
 {
     // TODO: can be implemented in form of static bitmap near choice control