X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be4e4e27aa09c5ed35c784ce8e2067070bc7d00c..75ae9acfa815c7d8b70d2d38153bd110b6731495:/src/palmos/button.cpp?ds=sidebyside diff --git a/src/palmos/button.cpp b/src/palmos/button.cpp index 262972367c..b2b7b6ef30 100644 --- a/src/palmos/button.cpp +++ b/src/palmos/button.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "button.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -44,6 +40,9 @@ #include "wx/stockitem.h" +#include +#include + // ---------------------------------------------------------------------------- // macros // ---------------------------------------------------------------------------- @@ -198,7 +197,7 @@ wxSize wxButtonBase::GetDefaultSize() void wxButton::SetDefault() { - FormType* form = GetParentForm(); + FormType* form = (FormType* )GetParentForm(); if(form==NULL) return; FrmSetDefaultButtonID(form,GetId());