]> git.saurik.com Git - wxWidgets.git/blame - include/wx/richtext/richtextimagedlg.h
Return correct index from wxGenericListCtrl::InsertColumn().
[wxWidgets.git] / include / wx / richtext / richtextimagedlg.h
CommitLineData
6255fac9
VZ
1/////////////////////////////////////////////////////////////////////////////
2// Name: wx/richtext/richtextimagedlg.h
ce00f59b 3// Purpose:
6255fac9 4// Author: Mingquan Yang
603f702b 5// Modified by: Julian Smart
6255fac9 6// Created: Wed 02 Jun 2010 11:27:23 CST
ce00f59b 7// RCS-ID:
603f702b 8// Copyright: (c) Mingquan Yang, Julian Smart
6255fac9
VZ
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12#include "wx/dialog.h"
13
14#ifndef _RICHTEXTIMAGEDLG_H_
15#define _RICHTEXTIMAGEDLG_H_
16
6255fac9
VZ
17/*!
18 * Forward declarations
19 */
20
21class WXDLLIMPEXP_FWD_CORE wxButton;
22class WXDLLIMPEXP_FWD_CORE wxComboBox;
2be72ac2 23class WXDLLIMPEXP_FWD_CORE wxCheckBox;
6255fac9
VZ
24class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
25
2be72ac2
JS
26/*!
27 * Includes
28 */
29
30#include "wx/richtext/richtextbuffer.h"
31#include "wx/richtext/richtextformatdlg.h"
32
6255fac9
VZ
33/*!
34 * Control identifiers
35 */
36
37////@begin control identifiers
603f702b
JS
38#define SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_STYLE wxDEFAULT_DIALOG_STYLE|wxTAB_TRAVERSAL
39#define SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_TITLE _("Object Properties")
40#define SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_IDNAME ID_RICHTEXTOBJECTPROPERTIESDIALOG
41#define SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_SIZE wxSize(400, 300)
42#define SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_POSITION wxDefaultPosition
6255fac9
VZ
43////@end control identifiers
44
6255fac9 45/*!
603f702b 46 * wxRichTextObjectPropertiesDialog class declaration
6255fac9
VZ
47 */
48
603f702b
JS
49class WXDLLIMPEXP_RICHTEXT wxRichTextObjectPropertiesDialog: public wxRichTextFormattingDialog
50{
51 DECLARE_DYNAMIC_CLASS( wxRichTextObjectPropertiesDialog )
6255fac9
VZ
52 DECLARE_EVENT_TABLE()
53
54public:
55 /// Constructors
603f702b
JS
56 wxRichTextObjectPropertiesDialog();
57 wxRichTextObjectPropertiesDialog( wxRichTextObject* obj, wxWindow* parent, wxWindowID id = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_IDNAME, const wxString& caption = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_TITLE, const wxPoint& pos = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_POSITION, const wxSize& size = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_SIZE, long style = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_STYLE );
6255fac9
VZ
58
59 /// Creation
603f702b 60 bool Create( wxRichTextObject* obj, wxWindow* parent, wxWindowID id = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_IDNAME, const wxString& caption = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_TITLE, const wxPoint& pos = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_POSITION, const wxSize& size = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_SIZE, long style = SYMBOL_WXRICHTEXTOBJECTPROPERTIESDIALOG_STYLE );
6255fac9
VZ
61
62 /// Destructor
603f702b 63 ~wxRichTextObjectPropertiesDialog();
6255fac9
VZ
64
65 /// Initialises member variables
66 void Init();
67
68 /// Creates the controls and sizers
69 void CreateControls();
70
603f702b 71////@begin wxRichTextObjectPropertiesDialog event handler declarations
6255fac9 72
603f702b 73////@end wxRichTextObjectPropertiesDialog event handler declarations
6255fac9 74
603f702b 75////@begin wxRichTextObjectPropertiesDialog member function declarations
6255fac9
VZ
76
77 /// Retrieves bitmap resources
78 wxBitmap GetBitmapResource( const wxString& name );
79
80 /// Retrieves icon resources
81 wxIcon GetIconResource( const wxString& name );
603f702b 82////@end wxRichTextObjectPropertiesDialog member function declarations
6255fac9
VZ
83
84 /// Should we show tooltips?
85 static bool ShowToolTips();
86
603f702b 87////@begin wxRichTextObjectPropertiesDialog member variables
6255fac9
VZ
88 /// Control identifiers
89 enum {
603f702b 90 ID_RICHTEXTOBJECTPROPERTIESDIALOG = 10650
6255fac9 91 };
603f702b 92////@end wxRichTextObjectPropertiesDialog member variables
6255fac9
VZ
93};
94
95#endif
96 // _RICHTEXTIMAGEDLG_H_