26 #ifndef _LINKPROPDLG_H_
27 #define _LINKPROPDLG_H_
29 #include <wx/string.h>
30 #include <wx/stattext.h>
31 #include <wx/textctrl.h>
33 #include <wx/scrolwin.h>
34 #include <wx/button.h>
35 #include <wx/statbox.h>
36 #include <wx/filesys.h>
37 #include <wx/filedlg.h>
38 #include <wx/msgdlg.h>
41 #if wxCHECK_VERSION(2, 9, 0)
42 #include <wx/dialog.h>
44 #include "scrollingdialog.h"
48 #define FRAME_WITH_LINKS_STYLE \
49 wxCAPTION | wxDEFAULT_FRAME_STYLE | wxMAXIMIZE_BOX | wxRESIZE_BORDER
51 #define FRAME_WITH_LINKS_STYLE \
52 wxCAPTION | wxDEFAULT_FRAME_STYLE | wxFRAME_FLOAT_ON_PARENT | \
53 wxMAXIMIZE_BOX | wxMINIMIZE_BOX | wxRESIZE_BORDER
62 wxStaticText* m_staticTextLinkDesc;
63 wxStaticText* m_staticTextLinkUrl;
64 wxButton* m_buttonBrowseLocal;
65 wxStdDialogButtonSizer* m_sdbSizerButtons;
66 wxButton* m_sdbSizerButtonsOK;
67 wxButton* m_sdbSizerButtonsCancel;
70 virtual void OnLocalFileClick(wxCommandEvent& event) {
event.Skip(); }
71 virtual void OnCancelClick(wxCommandEvent& event) {
event.Skip(); }
72 virtual void OnOkClick(wxCommandEvent& event) {
event.Skip(); }
75 wxTextCtrl* m_textCtrlLinkDescription;
76 wxTextCtrl* m_textCtrlLinkUrl;
79 const wxString& title = _(
"Link Properties"),
80 const wxPoint& pos = wxDefaultPosition,
81 const wxSize& size = wxSize(468, 247),
82 long style = wxDEFAULT_DIALOG_STYLE);
92 const wxString& title = _(
"Link Properties"),
93 const wxPoint& pos = wxDefaultPosition,
94 const wxSize& size = wxSize(468, 247),
95 long style = wxDEFAULT_DIALOG_STYLE);
98 void OnLocalFileClick(wxCommandEvent& event);
99 void OnOkClick(wxCommandEvent& event);