I'm using wxDev-C++ to write an auto-clicker program that I'm hoping to release as FOSS one day. I wrote some really neat algorithms that I tested in Java to be implemented my project so it can be used in games and such as that. (It's not school work, just something I've wanted to write).
Anyways, I'm using wxDev to generate a Gui for the program because I'm pretty inexperienced with doing GUIs and some of the more complicated things in C++. I need a way to declare the GUI (make it appear) so I can get an idea of how I want to write the event handlers and keyboard hooks but I am completely at a loss of how to do it...
These are what I think are the relevant pieces of code from the H file. Could someone explain what I should do to start it up?
#undef GuiHolder_STYLE
#define GuiHolder_STYLE wxCAPTION | wxSYSTEM_MENU | wxMINIMIZE_BOX | wxCLOSE_BOX
class GuiHolder : public wxFrame
{
private:
DECLARE_EVENT_TABLE();
public:
GuiHolder(wxWindow *parent, wxWindowID id = 1, const wxString &title = wxT("FREE-CLICK"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = GuiHolder_STYLE);
virtual ~GuiHolder();
void WxComboBox2Selected(wxCommandEvent& event );
private:
void OnClose(wxCloseEvent& event);
void CreateGUIControls();
};
#endif