// 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"
#include "wx/stockitem.h"
+#include <Control.h>
+#include <Form.h>
+
// ----------------------------------------------------------------------------
// macros
// ----------------------------------------------------------------------------
void wxButton::SetDefault()
{
- FormType* form = GetParentForm();
+ FormType* form = (FormType* )GetParentForm();
if(form==NULL)
return;
FrmSetDefaultButtonID(form,GetId());