- /// Set the image attribute
- void SetImageAttr(const wxRichTextAnchoredObjectAttr& attr);
- 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:
- wxRichTextAnchoredObjectAttr m_attr;
-////@begin wxRichTextImageDialog member variables
- wxComboBox* m_alignment;
- 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;