X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c92b0f9abd8348df6c43e69e66cc428fb9aac59c..a9b4774c0502f29e0f8eb6757a944420d02d5274:/demos/dbbrowse/dlguser.h diff --git a/demos/dbbrowse/dlguser.h b/demos/dbbrowse/dlguser.h index 26e219811a..35d774b9d3 100644 --- a/demos/dbbrowse/dlguser.h +++ b/demos/dbbrowse/dlguser.h @@ -1,7 +1,7 @@ //---------------------------------------------------------------------------------------- // Name: DlgUser.h,cpp // Purpose: Dialog mit Variable Gestaltung durch DlgUser.wxr -// Author: Mark Johnson, mj10777@gmx.net +// Author: Mark Johnson // Modified by: 19991105.mj10777 // Created: 19991105 // Copyright: (c) Mark Johnson @@ -15,22 +15,25 @@ #define ID_USER 102 #define ID_PASSWORD 103 #define ID_TEXT 104 + //---------------------------------------------------------------------------------------- -class mjDoc; +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; - mjDoc *pDoc; - //--------------------------------------------------------------------------------------- - DlgUser(wxWindow *parent, 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() }; //----------------------------------------------------------------------------------------