Init image handlers webrequest sample
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "wx/artprov.h"
|
||||
#include "wx/webrequest.h"
|
||||
#include "wx/filedlg.h"
|
||||
#include "wx/image.h"
|
||||
|
||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||
#include "../sample.xpm"
|
||||
@@ -402,6 +403,8 @@ public:
|
||||
if ( !wxApp::OnInit() )
|
||||
return false;
|
||||
|
||||
wxInitAllImageHandlers();
|
||||
|
||||
// create the main application window
|
||||
WebRequestFrame *frame = new WebRequestFrame("wxWebRequest Sample App");
|
||||
frame->Show(true);
|
||||
|
Reference in New Issue
Block a user