No real changes, just fixed a couple of typos in comments, fixes #16726.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2014-12-14 11:12:31 +00:00
parent 11cbe6ef70
commit 99d08bcc4b
10 changed files with 14 additions and 14 deletions

View File

@@ -174,7 +174,7 @@ user.
Class wxPageSetupDialog puts up the standard page setup dialog, which allows Class wxPageSetupDialog puts up the standard page setup dialog, which allows
you to specify the orientation, paper size, and related settings. You provide you to specify the orientation, paper size, and related settings. You provide
it with a wxPageSetupDialogData object at intialization, which is used to it with a wxPageSetupDialogData object at initialization, which is used to
populate the dialog; when the dialog is dismissed, this object contains the populate the dialog; when the dialog is dismissed, this object contains the
settings chosen by the user, including orientation and/or page margins. settings chosen by the user, including orientation and/or page margins.

View File

@@ -27,7 +27,7 @@ public:
wxApp(); wxApp();
virtual ~wxApp(); virtual ~wxApp();
/* override for altering the way wxGTK intializes the GUI /* override for altering the way wxGTK initializes the GUI
* (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by * (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by
* default. when overriding this method, the code in it is likely to be * default. when overriding this method, the code in it is likely to be
* platform dependent, otherwise use OnInit(). */ * platform dependent, otherwise use OnInit(). */

View File

@@ -32,7 +32,7 @@ public:
wxApp(); wxApp();
virtual ~wxApp(); virtual ~wxApp();
/* override for altering the way wxGTK intializes the GUI /* override for altering the way wxGTK initializes the GUI
* (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by * (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by
* default. when overriding this method, the code in it is likely to be * default. when overriding this method, the code in it is likely to be
* platform dependent, otherwise use OnInit(). */ * platform dependent, otherwise use OnInit(). */

View File

@@ -312,7 +312,7 @@ protected:
virtual ExitCode Entry(); virtual ExitCode Entry();
// wait for events to occur, read them and send to interested parties // wait for events to occur, read them and send to interested parties
// returns false it empty status was read, which means we whould exit // returns false it empty status was read, which means we would exit
// true otherwise // true otherwise
bool ReadEvents(); bool ReadEvents();

View File

@@ -123,7 +123,7 @@ public:
// hKey should be opened and will be closed in wxRegKey dtor // hKey should be opened and will be closed in wxRegKey dtor
void SetHkey(WXHKEY hKey); void SetHkey(WXHKEY hKey);
// get infomation about the key // get information about the key
// get the (full) key name. Abbreviate std root keys if bShortPrefix. // get the (full) key name. Abbreviate std root keys if bShortPrefix.
wxString GetName(bool bShortPrefix = true) const; wxString GetName(bool bShortPrefix = true) const;
// Retrieves the registry view used by this key. // Retrieves the registry view used by this key.
@@ -132,7 +132,7 @@ public:
bool Exists() const; bool Exists() const;
// get the info about key (any number of these pointers may be NULL) // get the info about key (any number of these pointers may be NULL)
bool GetKeyInfo(size_t *pnSubKeys, // number of subkeys bool GetKeyInfo(size_t *pnSubKeys, // number of subkeys
size_t *pnMaxKeyLen, // max len of subkey name size_t *pnMaxKeyLen, // max length of subkey name
size_t *pnValues, // number of values size_t *pnValues, // number of values
size_t *pnMaxValueLen) const; size_t *pnMaxValueLen) const;
// return true if the key is opened // return true if the key is opened

View File

@@ -107,7 +107,7 @@ private:
// ============================================================================ // ============================================================================
// //
// This is a wrapper class for the Mac OS X data browser environment. // This is a wrapper class for the Mac OS X data browser environment.
// It covers all data brower functionality for the native browser's list // It covers all data browser functionality for the native browser's list
// and column style. // and column style.
// //
@@ -180,7 +180,7 @@ public:
// //
OSStatus GetColumnCount (UInt32* numColumns) const; OSStatus GetColumnCount (UInt32* numColumns) const;
OSStatus GetColumnIndex (DataBrowserPropertyID propertyID, DataBrowserTableViewColumnIndex* index) const; // returns for the passed property the corresponding column index OSStatus GetColumnIndex (DataBrowserPropertyID propertyID, DataBrowserTableViewColumnIndex* index) const; // returns for the passed property the corresponding column index
OSStatus GetFreePropertyID(DataBrowserPropertyID* propertyID) const; // this method returns a property id that is valid and currently not used; if it cannot be found 'errDataBrowerPropertyNotSupported' is returned OSStatus GetFreePropertyID(DataBrowserPropertyID* propertyID) const; // this method returns a property id that is valid and currently not used; if it cannot be found 'errDataBrowserPropertyNotSupported' is returned
OSStatus GetPropertyFlags (DataBrowserPropertyID propertyID, DataBrowserPropertyFlags *flags ) const; OSStatus GetPropertyFlags (DataBrowserPropertyID propertyID, DataBrowserPropertyFlags *flags ) const;
OSStatus GetPropertyID (DataBrowserItemDataRef itemData, DataBrowserPropertyID* propertyID) const; // returns for the passed item data reference the corresponding property ID OSStatus GetPropertyID (DataBrowserItemDataRef itemData, DataBrowserPropertyID* propertyID) const; // returns for the passed item data reference the corresponding property ID
OSStatus GetPropertyID (DataBrowserTableViewColumnIndex index, DataBrowserPropertyID* propertyID) const; // returns for the passed column index the corresponding property ID OSStatus GetPropertyID (DataBrowserTableViewColumnIndex index, DataBrowserPropertyID* propertyID) const; // returns for the passed column index the corresponding property ID
@@ -297,7 +297,7 @@ protected :
// //
// callback functions for drag & drop // callback functions for drag & drop
/// //
static pascal Boolean DataBrowserAcceptDragProc (ControlRef browser, DragReference dragRef, DataBrowserItemID itemID); static pascal Boolean DataBrowserAcceptDragProc (ControlRef browser, DragReference dragRef, DataBrowserItemID itemID);
static pascal Boolean DataBrowserAddDragItemProc(ControlRef browser, DragReference dragRef, DataBrowserItemID itemID, ItemReference* itemRef); static pascal Boolean DataBrowserAddDragItemProc(ControlRef browser, DragReference dragRef, DataBrowserItemID itemID, ItemReference* itemRef);
static pascal Boolean DataBrowserReceiveDragProc(ControlRef browser, DragReference dragRef, DataBrowserItemID itemID); static pascal Boolean DataBrowserReceiveDragProc(ControlRef browser, DragReference dragRef, DataBrowserItemID itemID);
@@ -308,7 +308,7 @@ protected :
// //
// event handler for hit testing // event handler for hit testing
/// //
void* m_macDataViewCtrlEventHandler; void* m_macDataViewCtrlEventHandler;
private: private:

View File

@@ -19,7 +19,7 @@ class wxMimeTypesManagerImpl
{ {
public : public :
//kinda kooky but in wxMimeTypesManager::EnsureImpl it doesn't call //kinda kooky but in wxMimeTypesManager::EnsureImpl it doesn't call
//intialize, so we do it ourselves //initialize, so we do it ourselves
wxMimeTypesManagerImpl() : m_hIC(NULL) { Initialize(); } wxMimeTypesManagerImpl() : m_hIC(NULL) { Initialize(); }
~wxMimeTypesManagerImpl() { ClearData(); } ~wxMimeTypesManagerImpl() { ClearData(); }

View File

@@ -217,7 +217,7 @@ wxThread::ExitCode wxIOCPThread::Entry()
} }
// wait for events to occur, read them and send to interested parties // wait for events to occur, read them and send to interested parties
// returns false it empty status was read, which means we whould exit // returns false it empty status was read, which means we would exit
// true otherwise // true otherwise
bool wxIOCPThread::ReadEvents() bool wxIOCPThread::ReadEvents()
{ {

View File

@@ -625,7 +625,7 @@ wxQTMediaBackend::~wxQTMediaBackend()
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// wxQTMediaBackend::CreateControl // wxQTMediaBackend::CreateControl
// //
// 1) Intializes QuickTime // 1) Initializes QuickTime
// 2) Creates the control window // 2) Creates the control window
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
bool wxQTMediaBackend::CreateControl(wxControl* ctrl, wxWindow* parent, bool wxQTMediaBackend::CreateControl(wxControl* ctrl, wxWindow* parent,

View File

@@ -338,7 +338,7 @@ wxQTMediaBackend::~wxQTMediaBackend()
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// wxQTMediaBackend::CreateControl // wxQTMediaBackend::CreateControl
// //
// 1) Intializes QuickTime // 1) Initializes QuickTime
// 2) Creates the control window // 2) Creates the control window
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
bool wxQTMediaBackend::CreateControl( bool wxQTMediaBackend::CreateControl(