]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/nativdlg/nativdlg.cpp
added range of types to delegate type info
[wxWidgets.git] / samples / nativdlg / nativdlg.cpp
index cccb7e2cf5becb91e3a3f6543dff36389379af2d..6ff49b5b0fca651b018d426626d3f3a604d66acf 100644 (file)
@@ -28,8 +28,6 @@
 #error Sorry, this sample is only appropriate under Windows.
 #endif
 
 #error Sorry, this sample is only appropriate under Windows.
 #endif
 
-#include "wx/resource.h"
-
 #include <ctype.h>
 #include "nativdlg.h"
 #include "resource.h"
 #include <ctype.h>
 #include "nativdlg.h"
 #include "resource.h"
@@ -97,11 +95,6 @@ void MyFrame::OnTest1(wxCommandEvent& event)
       MyDialog *dialog = new MyDialog;
       if (dialog->LoadNativeDialog(this, _T("dialog1")))
       {
       MyDialog *dialog = new MyDialog;
       if (dialog->LoadNativeDialog(this, _T("dialog1")))
       {
-/*
-        wxTextCtrl *text = (wxTextCtrl *)wxFindWindowByName("multitext3", dialog);
-        if (text)
-          text->SetValue("wxWindows resource demo");
-*/
         dialog->SetModal(TRUE);
         dialog->ShowModal();
       }
         dialog->SetModal(TRUE);
         dialog->ShowModal();
       }