No changes, just removed hard tabs and trailing white space.
This commit is huge but there are no non-white-space changes in it. Some files containing third-party sources (src/msw/wince/time.cpp, src/x11/pango*.cpp) were left unchanged. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,7 +21,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSSlider);
|
||||
WX_DECLARE_OBJC_HASHMAP(NSSlider);
|
||||
|
||||
// For when we're not in Objective-C mode:
|
||||
typedef struct objc_selector *SEL;
|
||||
typedef struct objc_selector *SEL;
|
||||
|
||||
class wxCocoaNSSliderLastSelectorChanger;
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
// Name: wx/cocoa/ObjcRef.h
|
||||
// Purpose: wxObjcAutoRef template class
|
||||
// Author: David Elliott
|
||||
// Modified by:
|
||||
// Modified by:
|
||||
// Created: 2004/03/28
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 2004 David Elliott <dfe@cox.net>
|
||||
@@ -47,7 +47,7 @@
|
||||
wxGCSafeRelease(m_obj); // release current object (if any)
|
||||
m_obj = wxGCSafeRetain([[NSObject alloc] init]);
|
||||
[m_obj release]; // balance alloc
|
||||
|
||||
|
||||
Consider the effect on the retain count from each statement (alloc, CFRetain, release)
|
||||
In RR mode: retainCount = 1, +1, -1
|
||||
In GC mode: strongRetainCount = 0, +1, -0
|
||||
@@ -150,7 +150,7 @@ protected:
|
||||
it will use a method (currently CFRetain/CFRelease) to ensure the object will never be
|
||||
finalized until this object is destroyed.
|
||||
*/
|
||||
|
||||
|
||||
template <class T>
|
||||
class wxObjcAutoRefFromAlloc: wxObjcAutoRefBase
|
||||
{
|
||||
|
@@ -2,7 +2,7 @@
|
||||
// Name: wx/cocoa/autorelease.h
|
||||
// Purpose: Automatic NSAutoreleasePool functionality
|
||||
// Author: David Elliott
|
||||
// Modified by:
|
||||
// Modified by:
|
||||
// Created: 2003/07/11
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 2003 David Elliott <dfe@cox.net>
|
||||
|
@@ -34,7 +34,7 @@ public:
|
||||
virtual ~wxDirDialog();
|
||||
|
||||
virtual int ShowModal();
|
||||
|
||||
|
||||
inline WX_NSSavePanel GetNSSavePanel()
|
||||
{ return (WX_NSSavePanel)m_cocoaNSWindow; }
|
||||
|
||||
|
@@ -40,7 +40,7 @@ public:
|
||||
virtual void GetFilenames(wxArrayString& files) const;
|
||||
|
||||
virtual int ShowModal();
|
||||
|
||||
|
||||
inline WX_NSSavePanel GetNSSavePanel()
|
||||
{ return (WX_NSSavePanel)m_cocoaNSWindow; }
|
||||
|
||||
|
@@ -62,7 +62,7 @@ public:
|
||||
{
|
||||
(void)Create(size, family, style, weight, underlined, face, encoding);
|
||||
}
|
||||
|
||||
|
||||
wxFont(const wxSize& pixelSize,
|
||||
wxFontFamily family,
|
||||
wxFontStyle style,
|
||||
@@ -74,7 +74,7 @@ public:
|
||||
Create(10, family, style, weight, underlined, face, encoding);
|
||||
SetPixelSize(pixelSize);
|
||||
}
|
||||
|
||||
|
||||
/*! @abstract Construction with opaque wxNativeFontInfo
|
||||
*/
|
||||
wxFont(const wxNativeFontInfo& info)
|
||||
|
@@ -92,7 +92,7 @@ public:
|
||||
// these methods get/set the length of the slider pointer in pixels
|
||||
virtual void SetThumbLength(int lenPixels);
|
||||
virtual int GetThumbLength() const;
|
||||
|
||||
|
||||
// copied from (wxSliderCocoa.h)
|
||||
virtual void SetTickFreq(int n, int pos);
|
||||
virtual int GetTickFreq() const;
|
||||
|
@@ -3,7 +3,7 @@
|
||||
// Purpose: wxSound class (loads and plays short Windows .wav files).
|
||||
// Optional on non-Windows platforms.
|
||||
// Authors: David Elliott, Ryan Norton
|
||||
// Modified by:
|
||||
// Modified by:
|
||||
// Created: 2004-10-02
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 2004 David Elliott, Ryan Norton
|
||||
@@ -41,7 +41,7 @@ public:
|
||||
void SetNSSound(WX_NSSound cocoaNSSound);
|
||||
inline WX_NSSound GetNSSound()
|
||||
{ return m_cocoaNSSound; }
|
||||
protected:
|
||||
protected:
|
||||
bool DoPlay(unsigned flags) const;
|
||||
bool LoadWAV(const wxUint8 *data, size_t length, bool copyData);
|
||||
private:
|
||||
|
@@ -48,7 +48,7 @@ private:
|
||||
|
||||
wxString m_text; // tooltip text
|
||||
wxWindow *m_window; // window we're associated with
|
||||
|
||||
|
||||
DECLARE_ABSTRACT_CLASS(wxToolTip)
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user