home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wxos2233.zip
/
wxOS2-2_3_3.zip
/
wxWindows-2.3.3
/
contrib
/
utils
/
convertrc
/
convert.h
< prev
next >
Wrap
C/C++ Source or Header
|
2000-09-26
|
1KB
|
51 lines
// MainFrame.h: interface for the wxMainFrame class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(MAINFRAME_H)
#define MAINFRAME_H
#include "wx/wxprec.h"
#define ID_QUIT 1002
#define ID_ABOUT 1003
#define ID_RC2WXR 1005
#define ID_WXR2XML 1006
#define ID_RC2XML 1007
class wxMainFrame:public wxFrame
{
public:
void OnRC2XML();
void OnWXR2XML();
void OnRc2Wxr();
void OnQuit();
wxMainFrame(wxWindow* parent, wxWindowID id,
const wxString& title, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE,
const wxString& name = "frame");
virtual ~wxMainFrame();
protected:
DECLARE_EVENT_TABLE()
};
class wxConvertApp : public wxApp
{
public:
bool HandleCommandLine();
void InitMenu();
bool OnInit(void);
wxConvertApp();
virtual ~wxConvertApp();
protected:
wxMenuBar * m_pMenuBar;
wxMainFrame *m_pFrame;
};
#endif // !defined(MAINFRAME_H)