SetIcon(wxIcon(mondrian_xpm));
#endif
- const int widths[] = { -1 };
+// const int widths[] = { -1 };
CreateStatusBar();
// construct menu
m_pLogPrev = wxLog::SetActiveTarget(m_pLog);
// associate drop targets with 2 text controls
-#ifdef __WXMSW__ // it's not supported (yet) on other platforms
m_ctrlFile->SetDropTarget(new DnDFile(m_ctrlFile));
-#endif //MSW
m_ctrlText->SetDropTarget(new DnDText(m_ctrlText));
wxLayoutConstraints *c;
const char *pc;
switch ( dragSource.DoDragDrop(TRUE) ) {
- case wxDropSource::Error: pc = "Error!"; break;
- case wxDropSource::None: pc = "Nothing"; break;
- case wxDropSource::Copy: pc = "Copied"; break;
- case wxDropSource::Move: pc = "Moved"; break;
- case wxDropSource::Cancel: pc = "Cancelled"; break;
+ case wxDragError: pc = "Error!"; break;
+ case wxDragNone: pc = "Nothing"; break;
+ case wxDragCopy: pc = "Copied"; break;
+ case wxDragMove: pc = "Moved"; break;
+ case wxDragCancel: pc = "Cancelled"; break;
default: pc = "Huh?"; break;
}