23 #include "wxgis/catalogui/remoteconndlgs.h"
25 #ifdef wxGIS_USE_POSTGRES
34 class WXDLLIMPEXP_GIS_CLU wxGISCreateDBDlg :
public wxGISRemoteDBConnDlg
37 wxGISCreateDBDlg(CPLString pszConnPath, wxWindow* parent, wxWindowID
id = ID_REMOTECONNDLG,
const wxString& title = _(
"Create new Remote Database"),
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER);
38 virtual ~wxGISCreateDBDlg();
40 virtual void OnTest(wxCommandEvent& event);
41 virtual void OnOK(wxCommandEvent& event);
43 void CreateUI(
bool bHasConnectionPath =
true);
45 wxStaticText *m_DBNameStaticText;
46 wxStaticText *m_DBConnectionNameStaticText;
47 wxStaticText *m_DBTemplateNameStaticText;
49 wxChoice *m_TempateChoice;
52 wxString m_sDBTempate;
55 #endif //wxGIS_USE_POSTGRES