]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/docview/docview.cpp
m_id was already set, don't set it to the passed in value again as then we lose the...
[wxWidgets.git] / samples / docview / docview.cpp
index e0ee83cbd29caebfb00d80a8e28f6878b37fc9cc..f8f2a8f98b658f941592fd93673437b70c66e1ab 100644 (file)
@@ -181,7 +181,7 @@ bool MyApp::OnInit()
         // Create a template relating image documents to their views
         new wxDocTemplate(docManager, "Image", "*.png;*.jpg", "", "png;jpg",
                           "Image Doc", "Image View",
-                          CLASSINFO(wxImageDocument), CLASSINFO(wxImageView));
+                          CLASSINFO(ImageDocument), CLASSINFO(ImageView));
     }
 
     // create the main frame window