]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/private/mactext.h
wxChar -> char
[wxWidgets.git] / include / wx / mac / carbon / private / mactext.h
index c61119e3d4a9035bf48f164e8f7a01afe0f3b936..ab3257ba0d2f346f200a00aa9bd028ee2247d013 100644 (file)
@@ -39,10 +39,10 @@ public :
 
 
     virtual bool HasOwnContextMenu() const
-    { return false ; }
+        { return false ; }
 
-    virtual bool SetupCursor( const wxPoint& pt )
-    { return false ; }
+    virtual bool SetupCursor( const wxPoint& WXUNUSED(pt) )
+        { return false ; }
 
     virtual void Clear() ;
     virtual bool CanUndo() const;
@@ -55,7 +55,7 @@ public :
     virtual void ShowPosition(long WXUNUSED(pos)) ;
     virtual int GetLineLength(long lineNo) const ;
     virtual wxString GetLineText(long lineNo) const ;
-    virtual void CheckSpelling(bool check) { }
+    virtual void CheckSpelling(bool WXUNUSED(check)) { }
 
 #ifndef __WXMAC_OSX__
     virtual void            MacControlUserPaneDrawProc(wxInt16 part) = 0 ;
@@ -102,14 +102,10 @@ protected :
 
     // contains the tag for the content (is different for password and non-password controls)
     OSType m_valueTag ;
-
-    // as the selection tag only works correctly when the control has the focus we have to mirror the
-    // intended value
-    EventHandlerRef m_focusHandlerRef ;
 public :
     ControlEditTextSelectionRec m_selection ;
 };
 
 #endif // TARGET_API_MAC_OSX
 
-#endif // _WX_MAC_PRIVATE_MACTEXT_H_
\ No newline at end of file
+#endif // _WX_MAC_PRIVATE_MACTEXT_H_