Fix assorted typos in comments and other non-code.
Closes #15509. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -207,13 +207,13 @@ def main(scriptName, args):
|
|||||||
"mac_framework" : (False, "Install the Mac build as a framework"),
|
"mac_framework" : (False, "Install the Mac build as a framework"),
|
||||||
"mac_framework_prefix"
|
"mac_framework_prefix"
|
||||||
: (defFwPrefix, "Prefix where the framework should be installed. Default: %s" % defFwPrefix),
|
: (defFwPrefix, "Prefix where the framework should be installed. Default: %s" % defFwPrefix),
|
||||||
"cairo" : (False, "Enable dynamicly loading the Cairo lib for wxGraphicsContext on MSW"),
|
"cairo" : (False, "Enable dynamically loading the Cairo lib for wxGraphicsContext on MSW"),
|
||||||
"no_config" : (False, "Turn off configure step on autoconf builds"),
|
"no_config" : (False, "Turn off configure step on autoconf builds"),
|
||||||
"config_only" : (False, "Only run the configure step and then exit"),
|
"config_only" : (False, "Only run the configure step and then exit"),
|
||||||
"rebake" : (False, "Regenerate Bakefile and autoconf files"),
|
"rebake" : (False, "Regenerate Bakefile and autoconf files"),
|
||||||
"unicode" : (False, "Build the library with unicode support"),
|
"unicode" : (False, "Build the library with unicode support"),
|
||||||
"wxpython" : (False, "Build the wxWidgets library with all options needed by wxPython"),
|
"wxpython" : (False, "Build the wxWidgets library with all options needed by wxPython"),
|
||||||
"cocoa" : (False, "Build the old Mac Cooca port."),
|
"cocoa" : (False, "Build the old Mac Cocoa port."),
|
||||||
"osx_cocoa" : (False, "Build the new Cocoa port"),
|
"osx_cocoa" : (False, "Build the new Cocoa port"),
|
||||||
"shared" : (False, "Build wx as a dynamic library"),
|
"shared" : (False, "Build wx as a dynamic library"),
|
||||||
"extra_make" : ("", "Extra args to pass on [n]make's command line."),
|
"extra_make" : ("", "Extra args to pass on [n]make's command line."),
|
||||||
|
@@ -226,8 +226,8 @@ private:
|
|||||||
// Purpose of this class is to display HTML page (either local
|
// Purpose of this class is to display HTML page (either local
|
||||||
// file or downloaded via HTTP protocol) in a window. Width of
|
// file or downloaded via HTTP protocol) in a window. Width of
|
||||||
// window is constant - given in constructor - virtual height
|
// window is constant - given in constructor - virtual height
|
||||||
// is changed dynamicly depending on page size. Once the
|
// is changed dynamically depending on page size. Once the
|
||||||
// window is created you can set it's content by calling
|
// window is created you can set its content by calling
|
||||||
// SetPage(text) or LoadPage(filename).
|
// SetPage(text) or LoadPage(filename).
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@@ -113,7 +113,7 @@ private:
|
|||||||
// wxWizardPageSimple just returns the pointers given to the ctor and is useful
|
// wxWizardPageSimple just returns the pointers given to the ctor and is useful
|
||||||
// to create a simple wizard where the order of pages never changes.
|
// to create a simple wizard where the order of pages never changes.
|
||||||
//
|
//
|
||||||
// OTOH, it is also possible to dynamicly decide which page to return (i.e.
|
// OTOH, it is also possible to dynamically decide which page to return (i.e.
|
||||||
// depending on the user's choices) as the wizard sample shows - in order to do
|
// depending on the user's choices) as the wizard sample shows - in order to do
|
||||||
// this, you must derive from wxWizardPage directly.
|
// this, you must derive from wxWizardPage directly.
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: src/cococa/colour.mm
|
// Name: src/cocoa/colour.mm
|
||||||
// Purpose: wxColour class
|
// Purpose: wxColour class
|
||||||
// Author: David Elliott
|
// Author: David Elliott
|
||||||
// Modified by:
|
// Modified by:
|
||||||
|
@@ -649,7 +649,7 @@ void wxCocoaDCImpl::ComputeScaleAndOrigin(void)
|
|||||||
m_scaleX = m_logicalScaleX * m_userScaleX;
|
m_scaleX = m_logicalScaleX * m_userScaleX;
|
||||||
m_scaleY = m_logicalScaleY * m_userScaleY;
|
m_scaleY = m_logicalScaleY * m_userScaleY;
|
||||||
|
|
||||||
// CMB: if scale has changed call SetPen to recalulate the line width
|
// CMB: if scale has changed call SetPen to recalculate the line width
|
||||||
if (m_scaleX != origScaleX || m_scaleY != origScaleY)
|
if (m_scaleX != origScaleX || m_scaleY != origScaleY)
|
||||||
{
|
{
|
||||||
#if 0
|
#if 0
|
||||||
|
@@ -556,7 +556,7 @@ void wxWindowCocoaScrollView::Encapsulate()
|
|||||||
// Set the scroll view autoresizingMask to match the current NSView
|
// Set the scroll view autoresizingMask to match the current NSView
|
||||||
[m_cocoaNSScrollView setAutoresizingMask: [m_owner->GetNSView() autoresizingMask]];
|
[m_cocoaNSScrollView setAutoresizingMask: [m_owner->GetNSView() autoresizingMask]];
|
||||||
[m_owner->GetNSView() setAutoresizingMask: NSViewNotSizable];
|
[m_owner->GetNSView() setAutoresizingMask: NSViewNotSizable];
|
||||||
// NOTE: replaceSubView will cause m_cocaNSView to be released
|
// NOTE: replaceSubView will cause m_cocoaNSView to be released
|
||||||
// except when it hasn't been added into an NSView hierarchy in which
|
// except when it hasn't been added into an NSView hierarchy in which
|
||||||
// case it doesn't need to be and this should work out to a no-op
|
// case it doesn't need to be and this should work out to a no-op
|
||||||
m_owner->CocoaReplaceView(m_owner->GetNSView(), m_cocoaNSScrollView);
|
m_owner->CocoaReplaceView(m_owner->GetNSView(), m_cocoaNSScrollView);
|
||||||
@@ -1451,10 +1451,10 @@ bool wxWindow::Show(bool show)
|
|||||||
// Create a new view to stand in for the real one (via wxWindowCocoaHider) and replace
|
// Create a new view to stand in for the real one (via wxWindowCocoaHider) and replace
|
||||||
// the real one with the stand in.
|
// the real one with the stand in.
|
||||||
m_cocoaHider = new wxWindowCocoaHider(this);
|
m_cocoaHider = new wxWindowCocoaHider(this);
|
||||||
// NOTE: replaceSubview:with will cause m_cocaNSView to be
|
// NOTE: replaceSubview:with will cause m_cocoaNSView to be
|
||||||
// (auto)released which balances out addSubview
|
// (auto)released which balances out addSubview
|
||||||
CocoaReplaceView(cocoaView, m_cocoaHider->GetNSView());
|
CocoaReplaceView(cocoaView, m_cocoaHider->GetNSView());
|
||||||
// m_coocaNSView is now only retained by us
|
// m_cocoaNSView is now only retained by us
|
||||||
wxASSERT([m_cocoaHider->GetNSView() superview]);
|
wxASSERT([m_cocoaHider->GetNSView() superview]);
|
||||||
wxASSERT(![cocoaView superview]);
|
wxASSERT(![cocoaView superview]);
|
||||||
}
|
}
|
||||||
|
@@ -1659,7 +1659,7 @@ void wxPostScriptDCImpl::ComputeScaleAndOrigin()
|
|||||||
|
|
||||||
wxDCImpl::ComputeScaleAndOrigin();
|
wxDCImpl::ComputeScaleAndOrigin();
|
||||||
|
|
||||||
// If scale has changed call SetPen to recalulate the line width
|
// If scale has changed call SetPen to recalculate the line width
|
||||||
// and SetFont to recalculate font size
|
// and SetFont to recalculate font size
|
||||||
if ( wxRealPoint(m_scaleX, m_scaleY) != origScale && m_pen.IsOk() )
|
if ( wxRealPoint(m_scaleX, m_scaleY) != origScale && m_pen.IsOk() )
|
||||||
{
|
{
|
||||||
|
@@ -800,7 +800,7 @@ void wxGenericDirCtrl::PopulateNode(wxTreeItemId parentId)
|
|||||||
|
|
||||||
#if (defined(__WINDOWS__) && !defined(__WXWINCE__)) || defined(__DOS__) || defined(__OS2__)
|
#if (defined(__WINDOWS__) && !defined(__WXWINCE__)) || defined(__DOS__) || defined(__OS2__)
|
||||||
// Check if this is a root directory and if so,
|
// Check if this is a root directory and if so,
|
||||||
// whether the drive is avaiable.
|
// whether the drive is available.
|
||||||
if (!wxIsDriveAvailable(dirName))
|
if (!wxIsDriveAvailable(dirName))
|
||||||
{
|
{
|
||||||
data->m_isExpanded = false;
|
data->m_isExpanded = false;
|
||||||
|
@@ -1989,7 +1989,7 @@ void wxWindowDCImpl::ComputeScaleAndOrigin()
|
|||||||
|
|
||||||
wxDCImpl::ComputeScaleAndOrigin();
|
wxDCImpl::ComputeScaleAndOrigin();
|
||||||
|
|
||||||
// if scale has changed call SetPen to recalulate the line width
|
// if scale has changed call SetPen to recalculate the line width
|
||||||
if ( wxRealPoint(m_scaleX, m_scaleY) != origScale && m_pen.IsOk() )
|
if ( wxRealPoint(m_scaleX, m_scaleY) != origScale && m_pen.IsOk() )
|
||||||
{
|
{
|
||||||
// this is a bit artificial, but we need to force wxDC to think the pen
|
// this is a bit artificial, but we need to force wxDC to think the pen
|
||||||
|
@@ -2101,7 +2101,7 @@ void wxWindowDCImpl::ComputeScaleAndOrigin()
|
|||||||
|
|
||||||
wxGTKDCImpl::ComputeScaleAndOrigin();
|
wxGTKDCImpl::ComputeScaleAndOrigin();
|
||||||
|
|
||||||
// if scale has changed call SetPen to recalulate the line width
|
// if scale has changed call SetPen to recalculate the line width
|
||||||
if ( wxRealPoint(m_scaleX, m_scaleY) != origScale && m_pen.IsOk() )
|
if ( wxRealPoint(m_scaleX, m_scaleY) != origScale && m_pen.IsOk() )
|
||||||
{
|
{
|
||||||
// this is a bit artificial, but we need to force wxDC to think the pen
|
// this is a bit artificial, but we need to force wxDC to think the pen
|
||||||
|
@@ -30,7 +30,7 @@ Whats new? (changes since the last version are marked with an asterisk)
|
|||||||
them. These mirror resources instead belong to child widgets. With 1.23
|
them. These mirror resources instead belong to child widgets. With 1.23
|
||||||
the resource list (which can be queried by XtGetResourceList()) contains
|
the resource list (which can be queried by XtGetResourceList()) contains
|
||||||
entries for all mirror resources although the initial value setting is
|
entries for all mirror resources although the initial value setting is
|
||||||
always zero. But this should'nt matter. You can switch off these entries
|
always zero. But this shouldn't matter. You can switch off these entries
|
||||||
by setting -DDONT_LOOK_IN_THE_MIRROR when compiling ComboBox.c.
|
by setting -DDONT_LOOK_IN_THE_MIRROR when compiling ComboBox.c.
|
||||||
- The selection policies XmSINGLE_SELECT and XmBROWSE_SELECT are now
|
- The selection policies XmSINGLE_SELECT and XmBROWSE_SELECT are now
|
||||||
supported.
|
supported.
|
||||||
@@ -172,7 +172,7 @@ the place you're living in, don't hesitate... 8-)
|
|||||||
This should do it's job with twm as well as fvwm. With olwm you shouldn't
|
This should do it's job with twm as well as fvwm. With olwm you shouldn't
|
||||||
need to set one of the special resources.
|
need to set one of the special resources.
|
||||||
|
|
||||||
6. The combo box has been reported to run sucessfully on:
|
6. The combo box has been reported to run successfully on:
|
||||||
Silicon Graphics, Sun, HP, IBM RS6000, PC, even VMS!
|
Silicon Graphics, Sun, HP, IBM RS6000, PC, even VMS!
|
||||||
Linux, of course...!
|
Linux, of course...!
|
||||||
Attention VMS folks! You'll find two files called "motif11.opt" or
|
Attention VMS folks! You'll find two files called "motif11.opt" or
|
||||||
|
@@ -2,7 +2,7 @@ This contrib is the wxStyledTextCtrl, which is a wrapper around the
|
|||||||
Scintilla edit control. (See www.scintilla.org)
|
Scintilla edit control. (See www.scintilla.org)
|
||||||
|
|
||||||
There is still VERY MUCH to be done, most notable of which is a more
|
There is still VERY MUCH to be done, most notable of which is a more
|
||||||
advanced sample that exercises more of the code. (I havn't tested
|
advanced sample that exercises more of the code. (I haven't tested
|
||||||
AutoComplete or CallTips, or most of the event types at all yet.) And
|
AutoComplete or CallTips, or most of the event types at all yet.) And
|
||||||
also documentation, adding wrappers for some new scintilla
|
also documentation, adding wrappers for some new scintilla
|
||||||
functionality, building and testing on wxGTK, etc. Be patient, it all
|
functionality, building and testing on wxGTK, etc. Be patient, it all
|
||||||
@@ -11,11 +11,11 @@ will get there soon.
|
|||||||
|
|
||||||
|
|
||||||
Let me describe a bit about the architecture I am implementing...
|
Let me describe a bit about the architecture I am implementing...
|
||||||
Obviously there is the Platform layer which implements the varioius
|
Obviously there is the Platform layer which implements the various
|
||||||
platform classes by using wxWindows classes and filling in where
|
platform classes by using wxWindows classes and filling in where
|
||||||
needed. Then there is a ScintillaWX class that is derived from
|
needed. Then there is a ScintillaWX class that is derived from
|
||||||
ScintillaBase and implements the necessary virtual methods that
|
ScintillaBase and implements the necessary virtual methods that
|
||||||
Scintilla needs to fully funciton. This class however is not meant to
|
Scintilla needs to fully function. This class however is not meant to
|
||||||
ever be used directly by wx programmers. I call it one end of the
|
ever be used directly by wx programmers. I call it one end of the
|
||||||
bridge between the wx and Scintilla worlds. The other end of the
|
bridge between the wx and Scintilla worlds. The other end of the
|
||||||
bridge is a class called wxStyledTextCtrl that looks, feels and acts
|
bridge is a class called wxStyledTextCtrl that looks, feels and acts
|
||||||
@@ -37,7 +37,7 @@ wxStyledTextCtrl derives from wxControl so it has a window that can be
|
|||||||
drawn upon. When a wxStyledTextCtrl is constructed it constructs a
|
drawn upon. When a wxStyledTextCtrl is constructed it constructs a
|
||||||
ScintillaWX for itself and passes itself to the scintilla object to be
|
ScintillaWX for itself and passes itself to the scintilla object to be
|
||||||
set as the wMain and wDraw attributes. All method calls on the STC
|
set as the wMain and wDraw attributes. All method calls on the STC
|
||||||
are sent over the bridge in the form of calls to ScintiallWX::WndProc.
|
are sent over the bridge in the form of calls to ScintillaWX::WndProc.
|
||||||
All notifications are sent back over the bridge and turned into
|
All notifications are sent back over the bridge and turned into
|
||||||
wxEvents.
|
wxEvents.
|
||||||
|
|
||||||
|
@@ -58,7 +58,7 @@ cmdValues = [ 2011,
|
|||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
# Should a funciton be also generated for the CMDs?
|
# Should a function be also generated for the CMDs?
|
||||||
FUNC_FOR_CMD = 1
|
FUNC_FOR_CMD = 1
|
||||||
|
|
||||||
|
|
||||||
|
@@ -2321,7 +2321,7 @@ void wxWindowDCImpl::ComputeScaleAndOrigin()
|
|||||||
|
|
||||||
wxDCImpl::ComputeScaleAndOrigin();
|
wxDCImpl::ComputeScaleAndOrigin();
|
||||||
|
|
||||||
/* CMB: if scale has changed call SetPen to recalulate the line width */
|
/* CMB: if scale has changed call SetPen to recalculate the line width */
|
||||||
if ((m_scaleX != origScaleX || m_scaleY != origScaleY) &&
|
if ((m_scaleX != origScaleX || m_scaleY != origScaleY) &&
|
||||||
(m_pen.IsOk()))
|
(m_pen.IsOk()))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user