- /// Set the image attribute
- void SetImageAttr(const wxRichTextAttr& textAttr);
- wxRichTextImage* ApplyImageAttr();
-
- /// Set the anchored object
- void SetImageObject(wxRichTextImage *image, wxRichTextBuffer* buffer);
-
- virtual bool TransferDataFromWindow();
- virtual bool TransferDataToWindow();
-private:
- /// Convert CM to MM
- bool ConvertFromString(const wxString& string, int& ret, int scale);
-private:
- wxRichTextAttr m_textAttr;
-
-////@begin wxRichTextImageDialog member variables
- wxComboBox* m_float;
- wxTextCtrl* m_width;
- wxComboBox* m_unitsW;
- wxTextCtrl* m_height;
- wxComboBox* m_unitsH;
- wxTextCtrl* m_offset;
- wxComboBox* m_unitsOffset;
- wxButton* m_saveButton;
- wxButton* m_cancelButton;