#define USE_XPM
#endif
-#if defined(__WXGTK__)
- #include "wx/gtk/private.h"
-#endif
-
#ifdef USE_XPM
#include "mondrian.xpm"
#include "icons/choice.xpm"
static wxString GetDataString(wxClientData *data)
{
- return data ? wx_static_cast(wxStringClientData *, data)->GetData()
+ return data ? static_cast<wxStringClientData *>(data)->GetData()
: wxString("none");
}
void MyFrame::OnIconized( wxIconizeEvent& event )
{
- wxLogMessage(_T("Frame %s"), event.Iconized() ? _T("iconized")
- : _T("restored"));
+ wxLogMessage(_T("Frame %s"), event.IsIconized() ? _T("iconized")
+ : _T("restored"));
event.Skip();
}