git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1960
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
RULE=bin
# define library name
RULE=bin
# define library name
# define library sources
BIN_SRC=\
dialogs.cpp
# define library sources
BIN_SRC=\
dialogs.cpp
myCanvas->Clear();
myCanvas->Refresh();
}
myCanvas->Clear();
myCanvas->Refresh();
}
}
void MyFrame::ChooseFont(wxCommandEvent& WXUNUSED(event) )
}
void MyFrame::ChooseFont(wxCommandEvent& WXUNUSED(event) )
wxGetApp().m_canvasTextColour = retData.GetColour();
myCanvas->Refresh();
}
wxGetApp().m_canvasTextColour = retData.GetColour();
myCanvas->Refresh();
}
}
#if defined(__WXMSW__) && wxTEST_GENERIC_DIALOGS_IN_MSW
}
#if defined(__WXMSW__) && wxTEST_GENERIC_DIALOGS_IN_MSW
myCanvas->Clear();
myCanvas->Refresh();
}
myCanvas->Clear();
myCanvas->Refresh();
}
}
void MyFrame::ChooseFontGeneric(wxCommandEvent& WXUNUSED(event) )
}
void MyFrame::ChooseFontGeneric(wxCommandEvent& WXUNUSED(event) )
wxGetApp().m_canvasTextColour = retData.GetColour();
myCanvas->Refresh();
}
wxGetApp().m_canvasTextColour = retData.GetColour();
myCanvas->Refresh();
}
if (dialog.ShowModal() == wxID_OK)
{
if (dialog.ShowModal() == wxID_OK)
{
- wxMessageDialog dialog2(this, dialog.GetPath(), "Selected path");
+ wxString info;
+ info.Printf("Full file name: %s\n"
+ "Path: %s\n"
+ "Name: %s",
+ dialog.GetPath().c_str(),
+ dialog.GetDirectory().c_str(),
+ dialog.GetFilename().c_str());
+ wxMessageDialog dialog2(this, info, "Selected file");