X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..f40f8e17226c2080dec017e2043fe59e2d21e15b:/src/common/btncmn.cpp diff --git a/src/common/btncmn.cpp b/src/common/btncmn.cpp index fc96b64509..4ddc6a5bad 100644 --- a/src/common/btncmn.cpp +++ b/src/common/btncmn.cpp @@ -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) +