25 #ifndef __S57QUERYDIALOG_H__
26 #define __S57QUERYDIALOG_H__
28 #include <wx/button.h>
30 #include <wx/html/htmlwin.h>
42 const wxString& caption = _(
"Object Query"),
43 const wxPoint& pos = wxDefaultPosition,
44 const wxSize& size = wxDefaultSize,
45 long style = wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU);
50 bool Create(wxWindow* parent, wxWindowID
id = wxID_ANY,
51 const wxString& caption = _(
"Object Query"),
52 const wxPoint& pos = wxDefaultPosition,
53 const wxSize& size = wxDefaultSize,
54 long style = wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU);
56 void SetColorScheme(
void);
58 void CreateControls();
59 void OnSize(wxSizeEvent& event);
60 void RecalculateSize(
void);
62 void OnClose(wxCloseEvent& event);
63 void OnHtmlLinkClicked(wxHtmlLinkEvent& event);
65 void OnOKClick(wxCommandEvent& event) { Close(); }
66 void OnKey(wxKeyEvent& ke);
69 void OnPaint(wxPaintEvent& event);
71 void SetHTMLPage(wxString& page);
74 wxHtmlWindow* m_phtml;
88 const wxString& caption = _(
"Extra Object Info"),
89 const wxPoint& pos = wxDefaultPosition,
90 const wxSize& size = wxDefaultSize,
91 long style = wxCAPTION | wxRESIZE_BORDER |
93 bool Create(wxWindow* parent, wxWindowID
id = wxID_ANY,
94 const wxString& caption = _(
"Extra Object Info"),
95 const wxPoint& pos = wxDefaultPosition,
96 const wxSize& size = wxDefaultSize,
97 long style = wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU);
100 void OnClose(wxCloseEvent& event);
101 void OnSize(wxSizeEvent& event);
102 void RecalculateSize(
void);
S57QueryDialog()
Constructors.