#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());