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:
Francesco Montorsi
2008-10-06 11:53:16 +00:00
parent 5e53c1c21e
commit 4bae10bdff
21 changed files with 501 additions and 279 deletions

View File

@@ -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;