diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-07-16 21:01:10 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-07-16 21:01:10 +0200 |
commit | e933325230a34cdede1cf52067aadf0ab8a77d5b (patch) | |
tree | cd1cd41ab79cd0994163a9238584362bf474deba | |
parent | 0d2a5ccadac5abf08a0fdc9c80be75dc4e4b5534 (diff) | |
download | alpine-usb-creator-e933325230a34cdede1cf52067aadf0ab8a77d5b.tar.bz2 alpine-usb-creator-e933325230a34cdede1cf52067aadf0ab8a77d5b.tar.xz |
Add image handler for PNG files
-rw-r--r-- | main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5,6 +5,9 @@ IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { + wxImageHandler * pngLoader = new wxPNGHandler(); + wxImage::AddHandler(pngLoader); + Dialog *d = new Dialog((wxWindow *)NULL); d->Show(true); return true; |