many fixes; now the application correctly starts up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,12 +25,12 @@
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxScreenshotApp
|
||||
// ScreenshotApp
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
IMPLEMENT_APP(wxScreenshotApp);
|
||||
IMPLEMENT_APP(ScreenshotApp);
|
||||
|
||||
bool wxScreenshotApp::OnInit()
|
||||
bool ScreenshotApp::OnInit()
|
||||
{
|
||||
// Init all Image handlers
|
||||
wxInitAllImageHandlers();
|
||||
@@ -38,7 +38,7 @@ bool wxScreenshotApp::OnInit()
|
||||
// Add richtext extra handlers (plain text is automatically added)
|
||||
wxRichTextBuffer::AddHandler(new wxRichTextXMLHandler);
|
||||
|
||||
wxScreenshotFrame* frame = new wxScreenshotFrame(0L);
|
||||
ScreenshotFrame* frame = new ScreenshotFrame(0L);
|
||||
frame->Show();
|
||||
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user