#ifndef _WX_TEXTCTRL_H_
#define _WX_TEXTCTRL_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "textctrl.h"
#endif
-WXDLLEXPORT_DATA(extern const char*) wxTextCtrlNameStr;
-WXDLLEXPORT_DATA(extern const char*) wxEmptyString;
-
// Single-line text item
class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase
{
virtual void GetSelection(long* from, long* to) const;
virtual bool IsEditable() const ;
- virtual bool LoadFile(const wxString& file);
- virtual bool SaveFile(const wxString& file);
virtual void WriteText(const wxString& text);
virtual void AppendText(const wxString& text);
virtual void DiscardEdits();
protected:
wxString m_fileName;
-
+
+ virtual wxSize DoGetBestSize() const;
public:
// Motif-specific
void* m_tempCallbackStruct;