class MyConnection : public wxConnection
{
public:
- MyConnection(char *buf, int size);
+ MyConnection();
~MyConnection();
bool OnExecute(const wxString& topic, char *data, int size, wxIPCFormat format);
bool OnPoke(const wxString& topic, const wxString& item, char *data, int size, wxIPCFormat format);
bool OnStartAdvise(const wxString& topic, const wxString& item);
-private:
IPCDialogBox *dialog;
};
const wxPoint& pos,
const wxSize& size,
MyConnection *the_connection);
+ ~IPCDialogBox( );
void OnQuit(wxCommandEvent& event);
-private:
MyConnection *m_connection;
DECLARE_EVENT_TABLE()