Added new GUI based on wxWidgets. Patch from bit.
This commit is contained in:
parent
a2f44b8ea7
commit
7fe91626d6
60 changed files with 11647 additions and 78 deletions
21
src/wx-dialogbox.h
Normal file
21
src/wx-dialogbox.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef SRC_WX_PCEMDIALOGBOX_H_
|
||||
#define SRC_WX_PCEMDIALOGBOX_H_
|
||||
|
||||
#include "wx/dialog.h"
|
||||
|
||||
#include "wx-utils.h"
|
||||
|
||||
class PCemDialogBox: public wxDialog {
|
||||
public:
|
||||
PCemDialogBox(wxWindow* parent, int(*callback)(void* window, int message, INT_PARAM param1, LONG_PARAM param2));
|
||||
PCemDialogBox(wxWindow* parent, const char* name, int(*callback)(void* window, int message, INT_PARAM param1, LONG_PARAM param2));
|
||||
virtual ~PCemDialogBox() {}
|
||||
void OnInit();
|
||||
private:
|
||||
void OnCommand(wxCommandEvent &event);
|
||||
int(*callback)(void* window, int message, INT_PARAM param1, LONG_PARAM param2);
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
|
||||
#endif /* SRC_WX_PCEMDIALOGBOX_H_ */
|
||||
Loading…
Reference in a new issue