]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/mobile/wxedit/wxedit.cpp
Include wx/containr.h according to precompiled headers of wx/wx.h (with other minor...
[wxWidgets.git] / samples / mobile / wxedit / wxedit.cpp
index 277f376ed869240ac32955c321f3fc7c9b641a34..73a259c9ed9c376d56f21c138504c7e209149c05 100644 (file)
@@ -5,10 +5,6 @@
 // Copyright:
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-    #pragma implementation "wxedit.h"
-#endif
-
 // For compilers that support precompilation
 #include "wx/wxprec.h"
 
@@ -224,7 +220,7 @@ void MyFrame::OnOpen( wxCommandEvent& WXUNUSED(event) )
 
     wxFileDialog dialog( this, _T("Open text"), wxEmptyString, wxEmptyString,
         _T("Text file (*.txt)|*.txt|Any file (*)|*"),
-        wxOPEN|wxFILE_MUST_EXIST );
+        wxFD_OPEN|wxFD_FILE_MUST_EXIST );
     if (dialog.ShowModal() == wxID_OK)
     {
         m_text->Clear();
@@ -279,7 +275,7 @@ void MyFrame::OnSaveAs( wxCommandEvent& WXUNUSED(event) )
 #if wxUSE_FILEDLG
     wxFileDialog dialog( this, _T("Open text"), wxEmptyString, wxEmptyString,
         _T("Text file (*.txt)|*.txt|Any file (*)|*"),
-        wxSAVE|wxOVERWRITE_PROMPT );
+        wxFD_SAVE|wxFD_OVERWRITE_PROMPT );
     if (dialog.ShowModal() == wxID_OK)
     {
         m_filename = dialog.GetPath();