Applied patch #845402 ("RichEdit sample fixing and cleaning"); In addition made compilation with MSVC (nearly) warning free+some more cleaning up.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth
2003-11-20 17:43:57 +00:00
parent 6c3b4aae47
commit 62a1177692
8 changed files with 3286 additions and 2953 deletions

View File

@@ -7,7 +7,7 @@
#pragma interface
#endif
#include <wx/wx.h>
#include "wx/wx.h"
#include "wxllist.h"
#include "wxlwindow.h"
@@ -26,14 +26,13 @@ class MyApp;
class MyFrame: public wxFrame
{
DECLARE_DYNAMIC_CLASS(MyFrame)
public:
MyFrame(void);
void AddSampleText(wxLayoutList *llist);
void Clear(void);
void OnCommand( wxCommandEvent &event );
public:
MyFrame();
void AddSampleText(wxLayoutList *llist);
void Clear();
void OnCommand( wxCommandEvent &event );
void OnPrint(wxCommandEvent& event);
void OnPrintPreview(wxCommandEvent& event);
@@ -44,11 +43,14 @@ class MyFrame: public wxFrame
void OnPrintSetupPS(wxCommandEvent& event);
void OnPageSetupPS(wxCommandEvent& event);
DECLARE_EVENT_TABLE()
private:
wxLayoutWindow *m_lwin;
wxPrintData m_PrintData;
wxLayoutWindow *m_lwin;
wxPrintData m_PrintData;
DECLARE_DYNAMIC_CLASS(MyFrame)
DECLARE_EVENT_TABLE()
};
//-----------------------------------------------------------------------------
@@ -57,10 +59,13 @@ private:
class MyApp: public wxApp
{
public:
MyApp(void);
virtual bool OnInit(void);
public:
MyApp();
virtual bool OnInit();
};
#endif // __WXCONVERTH__