]> git.saurik.com Git - wxWidgets.git/commitdiff
Tidied up white space and tabs in wxMac
authorJulian Smart <julian@anthemion.co.uk>
Fri, 28 Feb 2003 23:36:37 +0000 (23:36 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 28 Feb 2003 23:36:37 +0000 (23:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

24 files changed:
include/wx/mac/accel.h
include/wx/mac/aga.h
include/wx/mac/app.h
include/wx/mac/bitmap.h
include/wx/mac/bmpbuttn.h
include/wx/mac/brush.h
include/wx/mac/button.h
include/wx/mac/checklst.h
include/wx/mac/choice.h
include/wx/mac/clipbrd.h
include/wx/mac/colordlg.h
include/wx/mac/control.h
include/wx/mac/cursor.h
include/wx/mac/dataobj2.h
include/wx/mac/dc.h
include/wx/mac/dcclient.h
include/wx/mac/dcmemory.h
include/wx/mac/dcprint.h
include/wx/mac/dcscreen.h
include/wx/mac/dialog.h
include/wx/mac/dirdlg.h
include/wx/mac/filedlg.h
include/wx/mac/font.h
include/wx/mac/fontdlg.h

index 186f3567e039198eec563e1e6f1a504cad8100dc..f4e5530320a62f7c6abfab5ec06646322d1c2d33 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_ACCEL_H_
index d6c18fb1173c9a164ea6e205f9354158f37bcf7f..5868b3f8eea461098c82017742e09e276244c814 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
index b35f6eb4e988cf5c7e9c18f6e094121ad4708057..49afac4c3adf4d8b30679eab15d791fd6432c899 100644 (file)
@@ -93,8 +93,8 @@ public:
     void DeletePendingObjects();
     bool IsExiting() { return !m_keepGoing ; }
 #if TARGET_CARBON
-       WXEVENTHANDLERREF       MacGetEventHandler() { return m_macEventHandler ; }
-       WXEVENTHANDLERREF       MacGetCurrentEventHandlerCallRef() { return m_macCurrentEventHandlerCallRef ; }
+    WXEVENTHANDLERREF    MacGetEventHandler() { return m_macEventHandler ; }
+    WXEVENTHANDLERREF    MacGetCurrentEventHandlerCallRef() { return m_macCurrentEventHandlerCallRef ; }
 #endif
 
 public:
@@ -111,8 +111,8 @@ private:
 
     // mac specifics
 #if TARGET_CARBON
-       WXEVENTHANDLERREF         m_macEventHandler ;
-       WXEVENTHANDLERCALLREF     m_macCurrentEventHandlerCallRef ;
+    WXEVENTHANDLERREF      m_macEventHandler ;
+    WXEVENTHANDLERCALLREF      m_macCurrentEventHandlerCallRef ;
 #endif
     WXEVENTREF            m_macCurrentEvent ;
 
@@ -164,21 +164,21 @@ public:
     
 #endif
 
-    void                                 MacHandleMenuCommand( wxUint32 command ) ;    
-    bool                         MacSendKeyDownEvent( wxWindow* focus , long keyval , long modifiers , long when , short wherex , short wherey ) ;
-    bool                         MacSendKeyUpEvent( wxWindow* focus , long keyval , long modifiers , long when , short wherex , short wherey ) ;
-    
+    void                  MacHandleMenuCommand( wxUint32 command ) ;    
+    bool                    MacSendKeyDownEvent( wxWindow* focus , long keyval , long modifiers , long when , short wherex , short wherey ) ;
+    bool                    MacSendKeyUpEvent( wxWindow* focus , long keyval , long modifiers , long when , short wherex , short wherey ) ;
+
     virtual short         MacHandleAEODoc(const WXAPPLEEVENTREF event , WXAPPLEEVENTREF reply) ;
     virtual short         MacHandleAEPDoc(const WXAPPLEEVENTREF event , WXAPPLEEVENTREF reply) ;
     virtual short         MacHandleAEOApp(const WXAPPLEEVENTREF event , WXAPPLEEVENTREF reply) ;
     virtual short         MacHandleAEQuit(const WXAPPLEEVENTREF event , WXAPPLEEVENTREF reply) ;
     
     // in response of an open-document apple event
-    virtual void         MacOpenFile(const wxString &fileName) ;
+    virtual void         MacOpenFile(const wxString &fileName) ;
     // in response of a print-document apple event
-    virtual void         MacPrintFile(const wxString &fileName) ;
+    virtual void         MacPrintFile(const wxString &fileName) ;
     // in response of a open-application apple event
-    virtual void         MacNewFile() ;
+    virtual void         MacNewFile() ;
 
     DECLARE_EVENT_TABLE()
 };
index 0f0543202ccd258e1e9657e4d61b355293e6a82d..804b9be1d95b47376e46a19c23a3befe9e31c08e 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_BITMAP_H_
@@ -84,8 +84,8 @@ public:
   wxPalette     m_bitmapPalette;
   int           m_quality;
 
-  int          m_bitmapType ;
-  WXHMETAFILE  m_hPict ;
+  int            m_bitmapType ;
+  WXHMETAFILE    m_hPict ;
   WXHBITMAP     m_hBitmap;
   WXHICON       m_hIcon ;
   wxMask *      m_bitmapMask; // Optional mask
index 032e7fc8777f00426dd585ac81e56a58661ffaad..43f61a6b57f1a36e4e6f6fc4a86c12e58161e060 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_BMPBUTTN_H_
index 178cf0edf59e36486afbec95eee1576fc0014bf3..f72b28e8cdf9c9a4f627c77596c8a254ac788d59 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_BRUSH_H_
index 3fe881919b094d184a6a88c57e67f827362d28be..f400b6da20e54d4eaf44bbb35986ba6506a39fbd 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_BUTTON_H_
@@ -42,7 +42,7 @@ class WXDLLEXPORT wxButton: public wxButtonBase
            const wxValidator& validator = wxDefaultValidator,
            const wxString& name = wxButtonNameStr);
 
-       virtual void MacHandleControlClick( WXWidget control , short controlpart ) ;
+    virtual void MacHandleControlClick( WXWidget control , short controlpart ) ;
     static wxSize GetDefaultSize();
 
   virtual void SetDefault();
index 00e75e9895e9f7e127cadf768a1c64538eedf133..76d9514edcce103c25115c731b6604131591a351 100644 (file)
@@ -58,11 +58,11 @@ public:
   void OnChar(wxKeyEvent& event) ;
   void OnLeftClick(wxMouseEvent& event) ;
 
-       // metrics
-       wxInt32 m_checkBoxWidth;
+    // metrics
+    wxInt32 m_checkBoxWidth;
     wxInt32 m_checkBoxHeight;
-       wxInt32 m_TextBaseLineOffset;
-       
+    wxInt32    m_TextBaseLineOffset;
+
     // the array containing the checked status of the items
     wxArrayInt m_checks;
 
index af4bbac627f7a6087065cc8ce68a46448d524070..2d526e0d56b8dc8056e5928673d6a312db97b402 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_CHOICE_H_
@@ -67,7 +67,7 @@ public:
   virtual int FindString(const wxString& s) const;
   virtual wxString GetString(int n) const ;
   virtual void SetString( int , const wxString& s ) ;
-       void            MacHandleControlClick( WXWidget control , wxInt16 controlpart ) ;
+    void        MacHandleControlClick( WXWidget control , wxInt16 controlpart ) ;
 
 /*
   virtual void Append(const wxString& item);
@@ -81,7 +81,7 @@ public:
 
   // Mac specific
   virtual void Command(wxCommandEvent& event);
-  void         MacHandleControlClick( WXWidget control , wxInt16 controlpart ) ;
+  void        MacHandleControlClick( WXWidget control , wxInt16 controlpart ) ;
 
   virtual inline int GetColumns() const { return 1 ; };
 */
@@ -98,8 +98,8 @@ protected:
 
   wxArrayString m_strings;
   wxChoiceDataArray m_datas ;
-  WXHMENU      m_macPopUpMenuHandle ;
+  WXHMENU    m_macPopUpMenuHandle ;
 };
 
 #endif
-       // _WX_CHOICE_H_
+    // _WX_CHOICE_H_
index ab3c77b03b06b3956f0682e71c058dd8a6430952..2e350a49245b2c9d88387fe72f0519c5cf8e2b95 100644 (file)
@@ -9,7 +9,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_CLIPBRD_H_
index f9d9ae7f2da1821e85ad43216919941ed4eb6906..af93ad7c6bc6819771190312c56760d8819c5821 100644 (file)
@@ -7,7 +7,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_COLORDLG_H_
index c464ea73547355584a2541c0a3c22ca4cd3915b1..8c14d461e1c45ebf3a7bb8e6cbba39499335cd77 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_CONTROL_H_
@@ -55,34 +55,34 @@ public:
    
    void OnEraseBackground(wxEraseEvent& event);
    
-   virtual bool                 Enable(bool enable = TRUE) ;
-   virtual bool                 Show(bool show = TRUE) ;
-   
-   virtual void                 MacRedrawControl () ;
-   virtual void         MacHandleControlClick( WXWidget control , short controlpart ) ;
-   virtual void                 MacPreControlCreate( wxWindow *parent, wxWindowID id, wxString label , 
-                                             const wxPoint& pos,
-                                             const wxSize& size, long style,
-                                             const wxValidator& validator,
-                                             const wxString& name ,
-                                             WXRECTPTR outBounds ,
-                                             unsigned char* maclabel ) ;
-   virtual void                 MacPostControlCreate() ;
-   virtual void                 MacAdjustControlRect() ;
+   virtual bool             Enable(bool enable = TRUE) ;
+   virtual bool             Show(bool show = TRUE) ;
+
+   virtual void         MacRedrawControl () ;
+   virtual void      MacHandleControlClick( WXWidget control , short controlpart ) ;
+   virtual void             MacPreControlCreate( wxWindow *parent, wxWindowID id, wxString label ,
+                          const wxPoint& pos,
+                          const wxSize& size, long style,
+                          const wxValidator& validator,
+                          const wxString& name ,
+                          WXRECTPTR outBounds ,
+                          unsigned char* maclabel ) ;
+   virtual void         MacPostControlCreate() ;
+   virtual void         MacAdjustControlRect() ;
    virtual WXWidget MacGetContainerForEmbedding() ;
-   virtual void         MacSuperChangedPosition() ;
-   virtual void         MacSuperEnabled( bool enabled ) ;
-   virtual void         MacSuperShown( bool show ) ;
-   virtual bool                 MacCanFocus() const ;
-   virtual void                 MacUpdateDimensions() ;
+   virtual void      MacSuperChangedPosition() ;
+   virtual void      MacSuperEnabled( bool enabled ) ;
+   virtual void      MacSuperShown( bool show ) ;
+   virtual bool         MacCanFocus() const ;
+   virtual void         MacUpdateDimensions() ;
    void*             MacGetControlAction() { return m_macControlAction ; }
    
-   virtual void         DoSetSize(int x, int y,int width, int height,int sizeFlags = wxSIZE_AUTO ) ;
-   void                 OnKeyDown( wxKeyEvent &event ) ;
-   void                         OnMouseEvent( wxMouseEvent &event ) ;
-   void                 OnPaint(wxPaintEvent& event) ;
-   virtual void                 Refresh(bool eraseBack = TRUE, const wxRect *rect = NULL) ;
-   WXWidget     GetMacControl() { return m_macControl ;}
+   virtual void       DoSetSize(int x, int y,int width, int height,int sizeFlags = wxSIZE_AUTO ) ;
+   void              OnKeyDown( wxKeyEvent &event ) ;
+   void                 OnMouseEvent( wxMouseEvent &event ) ;
+   void              OnPaint(wxPaintEvent& event) ;
+   virtual void         Refresh(bool eraseBack = TRUE, const wxRect *rect = NULL) ;
+   WXWidget     GetMacControl() { return m_macControl ;}
 
 #if WXWIN_COMPATIBILITY
    virtual void SetButtonColour(const wxColour& WXUNUSED(col)) { }
index 850275ba280e04226243eadb34a4c8068d3c95d2..bffacb52ed5792590f4ecf3a19bbca545bb00d9e 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_CURSOR_H_
@@ -29,11 +29,11 @@ public:
     ~wxCursorRefData();
 
 protected:
-    WXHCURSOR  m_hCursor;
-    bool               m_disposeHandle;
-    bool               m_releaseHandle;
+    WXHCURSOR     m_hCursor;
+    bool        m_disposeHandle;
+    bool        m_releaseHandle;
     bool        m_isColorCursor ;
-    long               m_themeCursor ;
+    long        m_themeCursor ;
 };
 
 #define M_CURSORDATA ((wxCursorRefData *)m_refData)
@@ -57,7 +57,7 @@ public:
 
     wxCursor(const wxImage & image) ;
 
-       wxCursor(const wxString& name, long flags = wxBITMAP_TYPE_MACCURSOR_RESOURCE,
+    wxCursor(const wxString& name, long flags = wxBITMAP_TYPE_MACCURSOR_RESOURCE,
    int hotSpotX = 0, int hotSpotY = 0);
 
   wxCursor(int cursor_type);
@@ -69,7 +69,7 @@ public:
   inline bool operator == (const wxCursor& cursor) { return m_refData == cursor.m_refData; }
   inline bool operator != (const wxCursor& cursor) { return m_refData != cursor.m_refData; }
 
-       void MacInstall() const ;
+    void MacInstall() const ;
 
   void SetHCURSOR(WXHCURSOR cursor);
   inline WXHCURSOR GetHCURSOR() const { return (M_CURSORDATA ? M_CURSORDATA->m_hCursor : 0); }
index 9286f844c6124636e09773b1104105eee2000f95..99f95f5abe8fbf0ec86d13d39d598e1cd9d26619 100644 (file)
@@ -41,11 +41,11 @@ public:
     virtual bool SetData(size_t len, const void *buf);
 
 protected :
-       void Init() ;
-       void Clear() ;
-       
-       void* m_pictHandle ;
-       bool m_pictCreated ;
+    void Init() ;
+    void Clear() ;
+
+    void* m_pictHandle ;
+    bool m_pictCreated ;
 private:
     // Virtual function hiding supression
     size_t GetDataSize(const wxDataFormat& rFormat) const
index 3ad4cb728dac7b1ccbb6a32b3537e0573716b24f..6b1b7be2b0caa7d918666a891039c5ac57b38f72 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DC_H_
 //-----------------------------------------------------------------------------
 
 #ifndef MM_TEXT
-#define MM_TEXT                        0
-#define MM_ISOTROPIC   1
-#define MM_ANISOTROPIC 2
-#define MM_LOMETRIC            3
-#define MM_HIMETRIC            4
-#define MM_TWIPS               5
-#define MM_POINTS              6
-#define MM_METRIC              7
+#define MM_TEXT            0
+#define MM_ISOTROPIC    1
+#define MM_ANISOTROPIC    2
+#define MM_LOMETRIC        3
+#define MM_HIMETRIC        4
+#define MM_TWIPS        5
+#define MM_POINTS        6
+#define MM_METRIC        7
 #endif
 
 //-----------------------------------------------------------------------------
@@ -109,82 +109,82 @@ class WXDLLEXPORT wxDC: public wxDCBase
   
     
     wxCoord XDEV2LOG(wxCoord x) const
-       {
-         long new_x = x - m_deviceOriginX ;
-         if (new_x > 0) 
-           return (wxCoord)((double)(new_x) / m_scaleX + 0.5) * m_signX + m_logicalOriginX;
-         else
-           return (wxCoord)((double)(new_x) / m_scaleX - 0.5) * m_signX + m_logicalOriginX;
-       }
+    {
+      long new_x = x - m_deviceOriginX ;
+      if (new_x > 0)
+        return (wxCoord)((double)(new_x) / m_scaleX + 0.5) * m_signX + m_logicalOriginX;
+      else
+        return (wxCoord)((double)(new_x) / m_scaleX - 0.5) * m_signX + m_logicalOriginX;
+    }
     wxCoord XDEV2LOGREL(wxCoord x) const
-       
-         if (x > 0) 
-           return (wxCoord)((double)(x) / m_scaleX + 0.5);
-         else
-           return (wxCoord)((double)(x) / m_scaleX - 0.5);
-       }
+    { 
+      if (x > 0)
+        return (wxCoord)((double)(x) / m_scaleX + 0.5);
+      else
+        return (wxCoord)((double)(x) / m_scaleX - 0.5);
+    }
     wxCoord YDEV2LOG(wxCoord y) const
-       {
-         long new_y = y - m_deviceOriginY ;
-         if (new_y > 0)
-           return (wxCoord)((double)(new_y) / m_scaleY + 0.5) * m_signY + m_logicalOriginY;
-         else
-           return (wxCoord)((double)(new_y) / m_scaleY - 0.5) * m_signY + m_logicalOriginY;
-       }
+    {
+      long new_y = y - m_deviceOriginY ;
+      if (new_y > 0)
+        return (wxCoord)((double)(new_y) / m_scaleY + 0.5) * m_signY + m_logicalOriginY;
+      else
+        return (wxCoord)((double)(new_y) / m_scaleY - 0.5) * m_signY + m_logicalOriginY;
+    }
     wxCoord YDEV2LOGREL(wxCoord y) const
-       
-         if (y > 0)
-           return (wxCoord)((double)(y) / m_scaleY + 0.5);
-         else
-           return (wxCoord)((double)(y) / m_scaleY - 0.5);
-       }
+    { 
+      if (y > 0)
+        return (wxCoord)((double)(y) / m_scaleY + 0.5);
+      else
+        return (wxCoord)((double)(y) / m_scaleY - 0.5);
+    }
     wxCoord XLOG2DEV(wxCoord x) const
-       
-         long new_x = x - m_logicalOriginX;
-         if (new_x > 0)
-           return (wxCoord)((double)(new_x) * m_scaleX + 0.5) * m_signX + m_deviceOriginX  ;
-         else
-           return (wxCoord)((double)(new_x) * m_scaleX - 0.5) * m_signX + m_deviceOriginX ;
-       }
+    { 
+      long new_x = x - m_logicalOriginX;
+      if (new_x > 0)
+        return (wxCoord)((double)(new_x) * m_scaleX + 0.5) * m_signX + m_deviceOriginX  ;
+      else
+        return (wxCoord)((double)(new_x) * m_scaleX - 0.5) * m_signX + m_deviceOriginX ;
+    }
     wxCoord XLOG2DEVREL(wxCoord x) const
-       
-         if (x > 0)
-           return (wxCoord)((double)(x) * m_scaleX + 0.5);
-         else
-           return (wxCoord)((double)(x) * m_scaleX - 0.5);
-       }
+    { 
+      if (x > 0)
+        return (wxCoord)((double)(x) * m_scaleX + 0.5);
+      else
+        return (wxCoord)((double)(x) * m_scaleX - 0.5);
+    }
     wxCoord YLOG2DEV(wxCoord y) const
-       {
-         long new_y = y - m_logicalOriginY ;
-         if (new_y > 0)
-           return (wxCoord)((double)(new_y) * m_scaleY + 0.5) * m_signY + m_deviceOriginY ;
-         else
-           return (wxCoord)((double)(new_y) * m_scaleY - 0.5) * m_signY + m_deviceOriginY ;
-       }
+    {
+      long new_y = y - m_logicalOriginY ;
+      if (new_y > 0)
+        return (wxCoord)((double)(new_y) * m_scaleY + 0.5) * m_signY + m_deviceOriginY ;
+      else
+        return (wxCoord)((double)(new_y) * m_scaleY - 0.5) * m_signY + m_deviceOriginY ;
+    }
     wxCoord YLOG2DEVREL(wxCoord y) const
-       
-         if (y > 0)
-           return (wxCoord)((double)(y) * m_scaleY + 0.5);
-         else
-           return (wxCoord)((double)(y) * m_scaleY - 0.5);
-       }
+    { 
+      if (y > 0)
+        return (wxCoord)((double)(y) * m_scaleY + 0.5);
+      else
+        return (wxCoord)((double)(y) * m_scaleY - 0.5);
+    }
     wxCoord XLOG2DEVMAC(wxCoord x) const
-       
-         long new_x = x - m_logicalOriginX;
-         if (new_x > 0)
-           return (wxCoord)((double)(new_x) * m_scaleX + 0.5) * m_signX + m_deviceOriginX + m_macLocalOrigin.x ;
-         else
-           return (wxCoord)((double)(new_x) * m_scaleX - 0.5) * m_signX + m_deviceOriginX + m_macLocalOrigin.x ;
-       }
+    { 
+      long new_x = x - m_logicalOriginX;
+      if (new_x > 0)
+        return (wxCoord)((double)(new_x) * m_scaleX + 0.5) * m_signX + m_deviceOriginX + m_macLocalOrigin.x ;
+      else
+        return (wxCoord)((double)(new_x) * m_scaleX - 0.5) * m_signX + m_deviceOriginX + m_macLocalOrigin.x ;
+    }
     wxCoord YLOG2DEVMAC(wxCoord y) const
-       {
-         long new_y = y - m_logicalOriginY ;
-         if (new_y > 0)
-           return (wxCoord)((double)(new_y) * m_scaleY + 0.5) * m_signY + m_deviceOriginY + m_macLocalOrigin.y ;
-         else
-           return (wxCoord)((double)(new_y) * m_scaleY - 0.5) * m_signY + m_deviceOriginY + m_macLocalOrigin.y ;
-       }
-  
+    {
+      long new_y = y - m_logicalOriginY ;
+      if (new_y > 0)
+        return (wxCoord)((double)(new_y) * m_scaleY + 0.5) * m_signY + m_deviceOriginY + m_macLocalOrigin.y ;
+      else
+        return (wxCoord)((double)(new_y) * m_scaleY - 0.5) * m_signY + m_deviceOriginY + m_macLocalOrigin.y ;
+    }
+
     WXHRGN MacGetCurrentClipRgn() { return m_macCurrentClipRgn ; }
     static void MacSetupBackgroundForCurrentPort(const wxBrush& background ) ;
 //
@@ -252,41 +252,41 @@ protected:
     // not yet used
     bool         m_needComputeScaleX,m_needComputeScaleY;         
     // If un-scrolled is non-zero or d.o. changes with scrolling.
-       // Set using SetInternalDeviceOrigin().
-       long         m_internalDeviceOriginX,m_internalDeviceOriginY;  
-        // To be set by external classes such as wxScrolledWindow
-        // using SetDeviceOrigin()
-    long         m_externalDeviceOriginX,m_externalDeviceOriginY;  
+    // Set using SetInternalDeviceOrigin().
+    long         m_internalDeviceOriginX,m_internalDeviceOriginY;
+     // To be set by external classes such as wxScrolledWindow
+     // using SetDeviceOrigin()
+    long         m_externalDeviceOriginX,m_externalDeviceOriginY;
                                                                     
     // Begin implementation for Mac
     public:
-                                                                   
-       WXHDC                           m_macPort ;
-       WXHBITMAP                       m_macMask ;
-
-       // in order to preserve the const inheritance of the virtual functions, we have to 
-       // use mutable variables starting from CWPro 5
-
-       void                                    MacInstallFont() const ;
-       void                                    MacInstallPen() const ;
-       void                                    MacInstallBrush() const ;
-       
-       mutable bool    m_macFontInstalled ;
-       mutable bool    m_macPenInstalled ;
-       mutable bool    m_macBrushInstalled ;
-       
-       WXHRGN                              m_macBoundaryClipRgn ;
-       WXHRGN                  m_macCurrentClipRgn ;
-       wxPoint                                 m_macLocalOrigin ;
-       void                                    MacSetupPort( wxMacPortStateHelper* ph ) const ;
-       void                    MacCleanupPort( wxMacPortStateHelper* ph ) const ;
-       mutable void*                   m_macATSUIStyle ;
-       mutable wxMacPortStateHelper*   m_macCurrentPortStateHelper ;
-       mutable bool                    m_macFormerAliasState ;
-       mutable short                   m_macFormerAliasSize ;
-       mutable bool                    m_macAliasWasEnabled ;
-       mutable void*                   m_macForegroundPixMap ;
-       mutable void*                   m_macBackgroundPixMap ;
+                                    
+    WXHDC                m_macPort ;
+    WXHBITMAP            m_macMask ;
+
+    // in order to preserve the const inheritance of the virtual functions, we have to 
+    // use mutable variables starting from CWPro 5
+
+    void                    MacInstallFont() const ;
+    void                    MacInstallPen() const ;
+    void                    MacInstallBrush() const ;
+
+    mutable bool    m_macFontInstalled ;
+    mutable bool    m_macPenInstalled ;
+    mutable bool    m_macBrushInstalled ;
+
+    WXHRGN                    m_macBoundaryClipRgn ;
+    WXHRGN                  m_macCurrentClipRgn ;
+    wxPoint                    m_macLocalOrigin ;
+    void                    MacSetupPort( wxMacPortStateHelper* ph ) const ;
+    void                    MacCleanupPort( wxMacPortStateHelper* ph ) const ;
+    mutable void*                   m_macATSUIStyle ;
+    mutable wxMacPortStateHelper*   m_macCurrentPortStateHelper ;
+    mutable bool                    m_macFormerAliasState ;
+    mutable short                   m_macFormerAliasSize ;
+    mutable bool                    m_macAliasWasEnabled ;
+    mutable void*                   m_macForegroundPixMap ;
+    mutable void*                   m_macBackgroundPixMap ;
 };
 
 #endif
index 284f5e3aef1472e18dd9711638d8907cd0a03e7c..9bda493d6f1d7b3e68400231cf7ccc56ea7fd17d 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DCCLIENT_H_
index bcada89dc30f42f94eccb4e903238675345c1c24..21a5d3ba8ce1b964c77d3fc52ff357bd306bce21 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DCMEMORY_H_
@@ -28,8 +28,8 @@ class WXDLLEXPORT wxMemoryDC: public wxPaintDC
     ~wxMemoryDC(void);
     virtual void SelectObject( const wxBitmap& bitmap );
     virtual void DoGetSize( int *width, int *height ) const;
-               wxBitmap        GetSelectedObject() { return m_selected ; }
-  private: 
+        wxBitmap    GetSelectedObject() { return m_selected ; }
+  private:
     wxBitmap  m_selected;
 };
 
index 9fb216a27b6d9b1d57bff484e1cf94c94d64e29b..356484e6ef5367e043025db47343d733d47b8d76 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DCPRINT_H_
index 79b69f5b0bddef9d8f31da24a4287ca71a61f1fd..4da100c32709eb68dd991c49a3f16eaa8cc978e1 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DCSCREEN_H_
index 3eedf8586fb63e82939e7a7c1b197a074dd1fac9..10c9a879a5e87bd9aa9d54c5ae317039612f8698 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DIALOG_H_
index 8692107e790c278d40eded1cc30c24c5f6dc82b5..ff7d71f9426dc011960fd9e2e9a790993d000067 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_DIRDLG_H_
index dd0e1d857adfeb149bc5de1fc5bc98e26ef90114..16265f9ecafae4a2abe838f8edfe2d28bf9daad5 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_FILEDLG_H_
index 2c3c17e84e13e899f3fbf815903883e70e634364..008957bd6961f4543ce5588d227720c849a4e3da 100644 (file)
@@ -106,12 +106,12 @@ protected:
     bool            m_noAA;      // No anti-aliasing
     
 public:
-    short         m_macFontNum;
-    short         m_macFontSize;
+    short       m_macFontNum;
+    short       m_macFontSize;
     unsigned char  m_macFontStyle;
     wxUint32       m_macATSUFontID;
 public:
-    void               MacFindFont() ;
+    void        MacFindFont() ;
 };
 // ----------------------------------------------------------------------------
 // wxFont
index 7e9fef66c6f1ebc5b01fc4a0a44d3752aa88215e..b5274588a7ee11f15ab64664c453227342b95c54 100644 (file)
@@ -7,7 +7,7 @@
 // Created:     1998-01-01
 // RCS-ID:      $Id$
 // Copyright:   (c) Stefan Csomor
-// Licence:    wxWindows licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_FONTDLG_H_