X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1f4723592a86208a941bd486a9c1f18f43b5f51..751731864888f00e31e6dce1092ac28a1fac5358:/samples/dnd/dnd.cpp diff --git a/samples/dnd/dnd.cpp b/samples/dnd/dnd.cpp index 7c707d4928..203fe37303 100644 --- a/samples/dnd/dnd.cpp +++ b/samples/dnd/dnd.cpp @@ -37,11 +37,12 @@ #if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__) #include "mondrian.xpm" - +#if wxUSE_DRAG_AND_DROP #include "dnd_copy.xpm" #include "dnd_move.xpm" #include "dnd_none.xpm" #endif +#endif #if wxUSE_DRAG_AND_DROP @@ -893,7 +894,7 @@ bool DnDApp::OnInit() // create the main frame window DnDFrame *frame = new DnDFrame((wxFrame *) NULL, - _T("Drag-and-Drop/Clipboard wxWindows Sample"), + _T("Drag-and-Drop/Clipboard wxWidgets Sample"), 10, 100, 650, 340); // activate it @@ -912,7 +913,7 @@ bool DnDApp::OnInit() DnDFrame::DnDFrame(wxFrame *frame, wxChar *title, int x, int y, int w, int h) : wxFrame(frame, wxID_ANY, title, wxPoint(x, y), wxSize(w, h)), - m_strText(_T("wxWindows drag & drop works :-)")) + m_strText(_T("wxWidgets drag & drop works :-)")) { // frame icon and status bar @@ -1099,7 +1100,7 @@ void DnDFrame::OnAbout(wxCommandEvent& WXUNUSED(event)) void DnDFrame::OnHelp(wxCommandEvent& /* event */) { wxMessageDialog dialog(this, - _T("This small program demonstrates drag & drop support in wxWindows. The program window\n") + _T("This small program demonstrates drag & drop support in wxWidgets. The program window\n") _T("consists of 3 parts: the bottom pane is for debug messages, so that you can see what's\n") _T("going on inside. The top part is split into 2 listboxes, the left one accepts files\n") _T("and the right one accepts text.\n")