]> git.saurik.com Git - wxWidgets.git/blame - demos/dbbrowse/dlguser.h
Userdlg uses constraints (better for wxMotif). Also added Id for cvs
[wxWidgets.git] / demos / dbbrowse / dlguser.h
CommitLineData
b5ffecfc
GT
1//---------------------------------------------------------------------------
2// Name: DlgUser.h,cpp
3// Purpose: Dialog mit Variable Gestaltung durch DlgUser.wxr
4// Author: Mark Johnson, mj10777@gmx.net
5// Modified by: 19991105.mj10777
6// Created: 19991105
7// Copyright: (c) Mark Johnson
8// Licence: wxWindows license
c09d434d 9// RCS-ID: $Id$
b5ffecfc
GT
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//---------------------------------------------------------------------------
20class DlgUser: public wxDialog
21{
22 public:
c09d434d 23// bool canceled;
b5ffecfc 24 wxString s_DSN, s_User, s_Password;
c09d434d
BJ
25// wxTextCtrl *tc_User, *tc_Password;
26 wxStaticText *m_Label1, *m_Label2;
27 wxTextCtrl *m_UserName, *m_Password;
28 wxButton *m_OK, *m_Cancel;
29
b5ffecfc 30 //---------------------------------------------------------------------------
c09d434d 31 DlgUser(wxWindow *parent, const wxString& title);
b5ffecfc
GT
32 void OnInit();
33 void OnOk(wxCommandEvent& event);
c09d434d 34// void OnCancel(wxCommandEvent& event);
b5ffecfc
GT
35 //---------------------------------------------------------------------------
36 DECLARE_EVENT_TABLE()
37};
38//---------------------------------------------------------------------------