]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/dbbrowse/dlguser.h
Added RTLD_GLOBAL to dlopen() flags which is needed if libraries depend
[wxWidgets.git] / demos / dbbrowse / dlguser.h
index 785ee45e90dd8431d6b3a47f9c832a5214fc3b71..8e0f2eddff0684616a4e69bd4247f7dcb4be0d06 100644 (file)
@@ -1,4 +1,4 @@
-//---------------------------------------------------------------------------
+//----------------------------------------------------------------------------------------
 // Name:        DlgUser.h,cpp
 // Purpose:     Dialog mit Variable Gestaltung durch DlgUser.wxr
 // Author:      Mark Johnson, mj10777@gmx.net
@@ -7,32 +7,30 @@
 // Copyright:   (c) Mark Johnson
 // Licence:     wxWindows license
 // RCS-ID:      $Id$
-//---------------------------------------------------------------------------
+//----------------------------------------------------------------------------------------
 // DlgUser
-//---------------------------------------------------------------------------
+//----------------------------------------------------------------------------------------
 #define ID_DIALOG_DSN   100
 #define ID_DSN          101
 #define ID_USER         102
 #define ID_PASSWORD     103
 #define ID_TEXT         104
-//---------------------------------------------------------------------------
-//---------------------------------------------------------------------------
+//----------------------------------------------------------------------------------------
+class MainDoc;
+//----------------------------------------------------------------------------------------
 class DlgUser: public wxDialog
 {
  public:
-// bool canceled;
  wxString s_DSN, s_User, s_Password;
-// wxTextCtrl *tc_User, *tc_Password;
  wxStaticText *m_Label1, *m_Label2;
  wxTextCtrl *m_UserName, *m_Password;
  wxButton *m_OK, *m_Cancel;
-
- //---------------------------------------------------------------------------
- DlgUser(wxWindow *parent, const wxString& title);
+ MainDoc *pDoc;
+ //---------------------------------------------------------------------------------------
+ DlgUser(wxWindow *parent,MainDoc *pDoc, const wxString& title);
  void OnInit();
  void OnOk(wxCommandEvent& event);
-// void OnCancel(wxCommandEvent& event);
- //---------------------------------------------------------------------------
+ //---------------------------------------------------------------------------------------
   DECLARE_EVENT_TABLE()
 };
-//---------------------------------------------------------------------------
+//----------------------------------------------------------------------------------------