All pastes #292676 Raw Edit

Anonymous

public cpp v1 · immutable
#292676 ·published 2006-12-26 20:51 UTC
rendered paste body
#include <wx/wx.h>#ifndef BASIC_H#define BASIC_Henum{	MENU_FILE_QUIT,	MENU_FILE_ADD,	MENU_FILE_INSERT,	MENU_FILE_DELETE,	wxID_Button1,	wxID_Button2,	wxID_Button3,};class wxNotebookApp : public wxApp{	public:	virtual bool OnInit();	};class BasicFrame : public wxFrame{	private:		wxMenuBar*	menubar;		wxMenu*		exmenu;		wxNotebook*	notebook;		DECLARE_EVENT_TABLE()	public:		BasicFrame(const wxChar* title,			   int xpos, int ypos,			   int width, int height);		~BasicFrame();					// Methoden die auf Ereignisse warten ..		void OnMenuFileQuit(wxCommandEvent& event);		void OnMenuFileAddPage(wxCommandEvent& event);		void OnMenuFileInsertPage(wxCommandEvent& event);		void OnMenuFileDeletePage(wxCommandEvent& event);		void OnButton1(wxCommandEvent& event);		void OnButton2(wxCommandEvent& event);		void OnButton3(wxCommandEvent& event);};// Globale FunktionenwxPanel* CreatePanelWithButton(wxNotebook* parent);wxPanel* CreatePanelWithTwoButton(wxNotebook* parent);#endif