Huge cleanup of the code. Reformatting, spelling fixes, standardizing on wxWindows conventions, etc.
Changed the couple lines of code required to work with checkins of the new ODBC classes that use wxStrings. Fixed a ton of memory leaks Demo still crashes on exit though - this problem has exited for nearly a year though. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,22 +15,25 @@
|
||||
#define ID_USER 102
|
||||
#define ID_PASSWORD 103
|
||||
#define ID_TEXT 104
|
||||
|
||||
//----------------------------------------------------------------------------------------
|
||||
class MainDoc;
|
||||
|
||||
//----------------------------------------------------------------------------------------
|
||||
class DlgUser: public wxDialog
|
||||
{
|
||||
public:
|
||||
wxString s_DSN, s_User, s_Password;
|
||||
wxStaticText *m_Label1, *m_Label2;
|
||||
wxTextCtrl *m_UserName, *m_Password;
|
||||
wxButton *m_OK, *m_Cancel;
|
||||
MainDoc *pDoc;
|
||||
//---------------------------------------------------------------------------------------
|
||||
DlgUser(wxWindow *parent,MainDoc *pDoc, const wxString& title);
|
||||
void OnInit();
|
||||
void OnOk(wxCommandEvent& event);
|
||||
//---------------------------------------------------------------------------------------
|
||||
DECLARE_EVENT_TABLE()
|
||||
public:
|
||||
wxString s_DSN, s_User, s_Password;
|
||||
wxStaticText *m_Label1, *m_Label2;
|
||||
wxTextCtrl *m_UserName, *m_Password;
|
||||
wxButton *m_OK, *m_Cancel;
|
||||
MainDoc *pDoc;
|
||||
//---------------------------------------------------------------------------------------
|
||||
DlgUser(wxWindow *parent,MainDoc *pDoc, const wxString& title);
|
||||
void OnInit();
|
||||
void OnOk(wxCommandEvent& event);
|
||||
//---------------------------------------------------------------------------------------
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
};
|
||||
//----------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user