| 1 |
////////////////////////////////////////////////////////////////////// |
| 2 |
// This file was auto-generated by codelite's wxCrafter Plugin |
| 3 |
// wxCrafter project file: codeformatterdlg.wxcp |
| 4 |
// Do not modify this file by hand! |
| 5 |
////////////////////////////////////////////////////////////////////// |
| 6 |
|
| 7 |
#ifndef _CODELITE_CODEFORMATTER_CODEFORMATTERDLG_BASE_CLASSES_H |
| 8 |
#define _CODELITE_CODEFORMATTER_CODEFORMATTERDLG_BASE_CLASSES_H |
| 9 |
|
| 10 |
// clang-format off |
| 11 |
#include <wx/settings.h> |
| 12 |
#include <wx/xrc/xmlres.h> |
| 13 |
#include <wx/xrc/xh_bmp.h> |
| 14 |
#include <wx/dialog.h> |
| 15 |
#include <wx/iconbndl.h> |
| 16 |
#include <wx/artprov.h> |
| 17 |
#include <wx/sizer.h> |
| 18 |
#include <wx/panel.h> |
| 19 |
#include <wx/dataview.h> |
| 20 |
#include "clThemedListCtrl.h" |
| 21 |
#include <wx/button.h> |
| 22 |
#if wxVERSION_NUMBER >= 2900 |
| 23 |
#include <wx/persist.h> |
| 24 |
#include <wx/persist/toplevel.h> |
| 25 |
#include <wx/persist/bookctrl.h> |
| 26 |
#include <wx/persist/treebook.h> |
| 27 |
#endif |
| 28 |
|
| 29 |
#ifdef WXC_FROM_DIP |
| 30 |
#undef WXC_FROM_DIP |
| 31 |
#endif |
| 32 |
#if wxVERSION_NUMBER >= 3100 |
| 33 |
#define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL) |
| 34 |
#else |
| 35 |
#define WXC_FROM_DIP(x) x |
| 36 |
#endif |
| 37 |
|
| 38 |
#include "PHPFormatterBuffer.h" |
| 39 |
|
| 40 |
// clang-format on |
| 41 |
|
| 42 |
class CodeFormatterBaseDlg : public wxDialog |
| 43 |
{ |
| 44 |
protected: |
| 45 |
wxPanel* m_mainPanel; |
| 46 |
clThemedOrderedListCtrl* m_dvListCtrl; |
| 47 |
wxBoxSizer* boxSizerFormatter; |
| 48 |
wxButton* m_button_ok; |
| 49 |
wxButton* m_button_cancel; |
| 50 |
wxButton* m_button_revert; |
| 51 |
|
| 52 |
protected: |
| 53 |
virtual void OnSelectionChanged(wxDataViewEvent& event) { event.Skip(); } |
| 54 |
virtual void OnOK(wxCommandEvent& event) { event.Skip(); } |
| 55 |
virtual void OnRevert(wxCommandEvent& event) { event.Skip(); } |
| 56 |
|
| 57 |
public: |
| 58 |
clThemedOrderedListCtrl* GetDvListCtrl() { return m_dvListCtrl; } |
| 59 |
wxButton* GetButton_ok() { return m_button_ok; } |
| 60 |
wxButton* GetButton_cancel() { return m_button_cancel; } |
| 61 |
wxButton* GetButton_revert() { return m_button_revert; } |
| 62 |
wxPanel* GetMainPanel() { return m_mainPanel; } |
| 63 |
CodeFormatterBaseDlg(wxWindow* parent, wxWindowID id = wxID_ANY, |
| 64 |
const wxString& title = _("Source Code Formatter Options"), |
| 65 |
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1, -1), |
| 66 |
long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER); |
| 67 |
virtual ~CodeFormatterBaseDlg(); |
| 68 |
}; |
| 69 |
|
| 70 |
#endif |