]> git.saurik.com Git - wxWidgets.git/blame - demos/dbbrowse/dlguser.h
Follow CreateButtonSizer interface change.
[wxWidgets.git] / demos / dbbrowse / dlguser.h
CommitLineData
c92b0f9a 1//----------------------------------------------------------------------------------------
b5ffecfc
GT
2// Name: DlgUser.h,cpp
3// Purpose: Dialog mit Variable Gestaltung durch DlgUser.wxr
829c421b 4// Author: Mark Johnson
b5ffecfc
GT
5// Modified by: 19991105.mj10777
6// Created: 19991105
7// Copyright: (c) Mark Johnson
8// Licence: wxWindows license
c09d434d 9// RCS-ID: $Id$
c92b0f9a 10//----------------------------------------------------------------------------------------
b5ffecfc 11// DlgUser
c92b0f9a 12//----------------------------------------------------------------------------------------
b5ffecfc
GT
13#define ID_DIALOG_DSN 100
14#define ID_DSN 101
15#define ID_USER 102
16#define ID_PASSWORD 103
17#define ID_TEXT 104
645889ad 18
c92b0f9a 19//----------------------------------------------------------------------------------------
3fa0976a 20class MainDoc;
645889ad 21
c92b0f9a 22//----------------------------------------------------------------------------------------
b5ffecfc
GT
23class DlgUser: public wxDialog
24{
645889ad
GT
25public:
26 wxString s_DSN, s_User, s_Password;
27 wxStaticText *m_Label1, *m_Label2;
28 wxTextCtrl *m_UserName, *m_Password;
29 wxButton *m_OK, *m_Cancel;
30 MainDoc *pDoc;
31 //---------------------------------------------------------------------------------------
32 DlgUser(wxWindow *parent,MainDoc *pDoc, const wxString& title);
33 void OnInit();
34 void OnOk(wxCommandEvent& event);
35 //---------------------------------------------------------------------------------------
36
37 DECLARE_EVENT_TABLE()
b5ffecfc 38};
c92b0f9a 39//----------------------------------------------------------------------------------------