Corrected missing pipe in treectrl.h, wxOK->wxID_OK in wxGetTextFromUser,

no offsets in 2 functions in wxDC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@91 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-06-14 08:53:46 +00:00
parent 40e1a9c025
commit 4efd74436a
4 changed files with 9 additions and 142 deletions

View File

@@ -136,7 +136,7 @@ wxString wxGetTextFromUser(const wxString& message, const wxString& caption,
int x, int y, bool WXUNUSED(centre) )
{
wxTextEntryDialog dialog(parent, message, caption, defaultValue, wxOK|wxCANCEL, wxPoint(x, y));
if (dialog.ShowModal() == wxOK)
if (dialog.ShowModal() == wxID_OK)
return dialog.GetValue();
else
return wxString("");