]> git.saurik.com Git - wxWidgets.git/blob - demos/dbbrowse/dlguser.h
implemented EVT_LIST_CACHE_HINT support: send this message from OnPaint() now
[wxWidgets.git] / demos / dbbrowse / dlguser.h
1 //----------------------------------------------------------------------------------------
2 // Name: DlgUser.h,cpp
3 // Purpose: Dialog mit Variable Gestaltung durch DlgUser.wxr
4 // Author: Mark Johnson
5 // Modified by: 19991105.mj10777
6 // Created: 19991105
7 // Copyright: (c) Mark Johnson
8 // Licence: wxWindows license
9 // RCS-ID: $Id$
10 //----------------------------------------------------------------------------------------
11 // DlgUser
12 //----------------------------------------------------------------------------------------
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
18
19 //----------------------------------------------------------------------------------------
20 class MainDoc;
21
22 //----------------------------------------------------------------------------------------
23 class DlgUser: public wxDialog
24 {
25 public:
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()
38 };
39 //----------------------------------------------------------------------------------------