]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/btncmn.cpp
Compile fixes for wxUSE_COLLPANE=0
[wxWidgets.git] / src / common / btncmn.cpp
index fc96b645093d49a5579eb5cd8ccb5a3af23a2766..4ddc6a5bad407fd1d769a0ad11bff21826bf9d63 100644 (file)
@@ -30,6 +30,7 @@
     #include "wx/toplevel.h"
 #endif //WX_PRECOMP
 
+extern WXDLLEXPORT_DATA(const char) wxButtonNameStr[] = "button";
 
 // ----------------------------------------------------------------------------
 // XTI
@@ -106,7 +107,7 @@ wxWindow *wxButtonBase::SetDefault()
     return tlw->SetDefaultItem(this);
 }
 
-void wxButtonBase::SetBitmapPosition(wxDirection dir)
+void wxAnyButtonBase::SetBitmapPosition(wxDirection dir)
 {
     wxASSERT_MSG( !(dir & ~wxDIRECTION_MASK), "non-direction flag used" );
     wxASSERT_MSG( !!(dir & wxLEFT) +