// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "mmboard.h"
-#endif
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
// ----------------------------------------------------------------------------
// ressources
// ----------------------------------------------------------------------------
+
// the application icon
-#if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__)
+#if !defined(__WXMSW__) && !defined(__WXPM__)
#include "mondrian.xpm"
#endif
}
// select a file to be opened
+#if wxUSE_FILEDLG
selected_file = wxLoadFileSelector(_T("multimedia"), _T("*"), NULL, this);
- if (selected_file.IsNull())
+#endif // wxUSE_FILEDLG
+ if (selected_file.empty())
return;
m_opened_file = MMBoardManager::Open(selected_file);
UpdateMMedInfo();
}
-