No changes, just cleanup the image part of the docview sample.
Remove unnecessary, never used methods. Don't use pointers when objects or references can be used more safely. Don't name classes which are not part of wx with "wx" prefix to avoid confusing people. Don't define empty unnecessary event tables. Prefer wxScrolledWindow::SetVirtualSize() to SetScrollbars(). Stop using "protected" when "private" should be used. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
2954883593
commit
2d4a03f8a7
5 changed files with 47 additions and 107 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue