All pastes #988378 Raw Edit

Mine

public text v1 · immutable
#988378 ·published 2008-04-17 15:08 UTC
rendered paste body
#ifndef LOGIN_H
#define LOGIN_H

#include <wx/wx.h>
#include <wx/dialog.h>
#include <wx/textctrl.h>
#include <wx/string.h>

namespace gui {
	class Login: public wxDialog {
		public:
			Login(
				wxWindow* parent,
				wxWindowID id,
				const wxString& title,
				
				const wxString& defaultIp,
				const wxString& defaultUsername,
				const wxString& defaultPassword
			);
		private:
			wxTextCtrl* ip;
			wxTextCtrl* username;
			wxTextCtrl* password;
			wxButton* ok;
			wxCheckBox* isFilter;

			void OnOk(wxCommandEvent& e);
			void OnCloseWindow(wxCloseEvent& e);
	};
}

#endif // LOGIN_H