diff --git a/include/wx/bmpbuttn.h b/include/wx/bmpbuttn.h index 8837752b00..62262cad41 100644 --- a/include/wx/bmpbuttn.h +++ b/include/wx/bmpbuttn.h @@ -21,7 +21,7 @@ // FIXME: right now only wxMSW and wxGTK implement bitmap support in wxButton // itself, this shouldn't be used for the other platforms neither // when all of them do it -#if (defined(__WXMSW__) || defined(__WXGTK__)) && !defined(__WXUNIVERSAL__) +#if (defined(__WXMSW__) || defined(__WXGTK20__)) && !defined(__WXUNIVERSAL__) #define wxHAS_BUTTON_BITMAP #endif