No code changes, fix some typos.
Change several occurrences of "it's" where "its" is meant, as well as a few other minor typos. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -76,7 +76,7 @@ There are other GUI solutions out there for Python.
|
|||||||
|
|
||||||
Tkinter is the de facto standard GUI for Python. It is available on nearly
|
Tkinter is the de facto standard GUI for Python. It is available on nearly
|
||||||
every platform that Python and Tcl/TK are. Why Tcl/Tk? Well because Tkinter is
|
every platform that Python and Tcl/TK are. Why Tcl/Tk? Well because Tkinter is
|
||||||
just a wrapper around Tcl's GUI toolkit, Tk. This has it's upsides and it's
|
just a wrapper around Tcl's GUI toolkit, Tk. This has its upsides and its
|
||||||
downsides...
|
downsides...
|
||||||
|
|
||||||
The upside is that Tk is a pretty versatile toolkit. It can be made to do a lot
|
The upside is that Tk is a pretty versatile toolkit. It can be made to do a lot
|
||||||
|
@@ -105,7 +105,7 @@ public:
|
|||||||
// and changing the split mode.
|
// and changing the split mode.
|
||||||
// Does nothing and returns false if the window is already split.
|
// Does nothing and returns false if the window is already split.
|
||||||
// A sashPosition of 0 means choose a default sash position,
|
// A sashPosition of 0 means choose a default sash position,
|
||||||
// negative sashPosition specifies the size of right/lower pane as it's
|
// negative sashPosition specifies the size of right/lower pane as its
|
||||||
// absolute value rather than the size of left/upper pane.
|
// absolute value rather than the size of left/upper pane.
|
||||||
virtual bool SplitVertically(wxWindow *window1,
|
virtual bool SplitVertically(wxWindow *window1,
|
||||||
wxWindow *window2,
|
wxWindow *window2,
|
||||||
|
@@ -3014,7 +3014,7 @@ public:
|
|||||||
This function returns @true if this window, or one of its parent
|
This function returns @true if this window, or one of its parent
|
||||||
windows, is scheduled for destruction and can be useful to avoid
|
windows, is scheduled for destruction and can be useful to avoid
|
||||||
manipulating it as it's usually useless to do something with a window
|
manipulating it as it's usually useless to do something with a window
|
||||||
which is on the point of disappearing anyhow.
|
which is at the point of disappearing anyhow.
|
||||||
*/
|
*/
|
||||||
bool IsBeingDeleted() const;
|
bool IsBeingDeleted() const;
|
||||||
|
|
||||||
|
@@ -2276,8 +2276,8 @@ wxSizer* wxAuiManager::LayoutAll(wxAuiPaneInfoArray& panes,
|
|||||||
dock.min_size = dock_min_size;
|
dock.min_size = dock_min_size;
|
||||||
|
|
||||||
|
|
||||||
// if the pane's current size is less than it's
|
// if the pane's current size is less than its
|
||||||
// minimum, increase the dock's size to it's minimum
|
// minimum, increase the dock's size to its minimum
|
||||||
if (dock.size < dock.min_size)
|
if (dock.size < dock.min_size)
|
||||||
dock.size = dock.min_size;
|
dock.size = dock.min_size;
|
||||||
|
|
||||||
@@ -2587,7 +2587,7 @@ void wxAuiManager::Update()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// frame already exists, make sure it's position
|
// frame already exists, make sure its position
|
||||||
// and size reflect the information in wxAuiPaneInfo
|
// and size reflect the information in wxAuiPaneInfo
|
||||||
if ((p.frame->GetPosition() != p.floating_pos) || (p.frame->GetSize() != p.floating_size))
|
if ((p.frame->GetPosition() != p.floating_pos) || (p.frame->GetSize() != p.floating_size))
|
||||||
{
|
{
|
||||||
@@ -3757,7 +3757,7 @@ void wxAuiManager::OnFloatingPaneMoved(wxWindow* wnd, wxDirection dir)
|
|||||||
DoDrop(m_docks, m_panes, pane, client_pt, action_offset);
|
DoDrop(m_docks, m_panes, pane, client_pt, action_offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if the pane is still floating, update it's floating
|
// if the pane is still floating, update its floating
|
||||||
// position (that we store)
|
// position (that we store)
|
||||||
if (pane.IsFloating())
|
if (pane.IsFloating())
|
||||||
{
|
{
|
||||||
@@ -4370,7 +4370,7 @@ bool wxAuiManager::DoEndResizeAction(wxMouseEvent& event)
|
|||||||
// check against the pane's minimum size, if specified. please note
|
// check against the pane's minimum size, if specified. please note
|
||||||
// that this is not enough to ensure that the minimum size will
|
// that this is not enough to ensure that the minimum size will
|
||||||
// not be violated, because the whole frame might later be shrunk,
|
// not be violated, because the whole frame might later be shrunk,
|
||||||
// causing the size of the pane to violate it's minimum size
|
// causing the size of the pane to violate its minimum size
|
||||||
if (pane.min_size.IsFullySpecified())
|
if (pane.min_size.IsFullySpecified())
|
||||||
{
|
{
|
||||||
min_size = 0;
|
min_size = 0;
|
||||||
@@ -4742,7 +4742,7 @@ void wxAuiManager::OnCaptureLost(wxMouseCaptureLostEvent& WXUNUSED(event))
|
|||||||
|
|
||||||
void wxAuiManager::OnChildFocus(wxChildFocusEvent& event)
|
void wxAuiManager::OnChildFocus(wxChildFocusEvent& event)
|
||||||
{
|
{
|
||||||
// when a child pane has it's focus set, we should change the
|
// when a child pane has its focus set, we should change the
|
||||||
// pane's active state to reflect this. (this is only true if
|
// pane's active state to reflect this. (this is only true if
|
||||||
// active panes are allowed by the owner)
|
// active panes are allowed by the owner)
|
||||||
if (GetFlags() & wxAUI_MGR_ALLOW_ACTIVE_PANE)
|
if (GetFlags() & wxAUI_MGR_ALLOW_ACTIVE_PANE)
|
||||||
|
@@ -2484,7 +2484,7 @@ void wxComboCtrlBase::DoShowPopup( const wxRect& rect, int WXUNUSED(flags) )
|
|||||||
m_popupWinState = Visible;
|
m_popupWinState = Visible;
|
||||||
|
|
||||||
// If popup window was a generic top-level window, or the
|
// If popup window was a generic top-level window, or the
|
||||||
// wxPopupWindow implemenation on this platform is classified as
|
// wxPopupWindow implementation on this platform is classified as
|
||||||
// perfect, then we should be able to safely set focus to the popup
|
// perfect, then we should be able to safely set focus to the popup
|
||||||
// control.
|
// control.
|
||||||
// In x11 backend, popup window neither generic top-level nor
|
// In x11 backend, popup window neither generic top-level nor
|
||||||
|
@@ -320,7 +320,7 @@ size_t wxStoredOutputStream::OnSysWrite(const void *buffer, size_t size)
|
|||||||
// non-seekable stream.
|
// non-seekable stream.
|
||||||
//
|
//
|
||||||
// In this case there's no option but to decompress the stream to find
|
// In this case there's no option but to decompress the stream to find
|
||||||
// it's length, but we can still write the raw compressed data to avoid the
|
// its length, but we can still write the raw compressed data to avoid the
|
||||||
// compression overhead (which is the greater one).
|
// compression overhead (which is the greater one).
|
||||||
//
|
//
|
||||||
// Usage is like this:
|
// Usage is like this:
|
||||||
@@ -1119,7 +1119,7 @@ size_t wxZipEntry::WriteCentral(wxOutputStream& stream, wxMBConv& conv) const
|
|||||||
// Info-zip prefixes this record with a signature, but pkzip doesn't. So if
|
// Info-zip prefixes this record with a signature, but pkzip doesn't. So if
|
||||||
// the 1st value is the signature then it is probably an info-zip record,
|
// the 1st value is the signature then it is probably an info-zip record,
|
||||||
// though there is a small chance that it is in fact a pkzip record which
|
// though there is a small chance that it is in fact a pkzip record which
|
||||||
// happens to have the signature as it's CRC.
|
// happens to have the signature as its CRC.
|
||||||
//
|
//
|
||||||
size_t wxZipEntry::ReadDescriptor(wxInputStream& stream)
|
size_t wxZipEntry::ReadDescriptor(wxInputStream& stream)
|
||||||
{
|
{
|
||||||
|
@@ -1386,7 +1386,7 @@ void wxTopLevelWindowGTK::SetIcons( const wxIconBundle &icons )
|
|||||||
base_type::SetIcons(icons);
|
base_type::SetIcons(icons);
|
||||||
|
|
||||||
// Setting icons before window is realized can cause a GTK assertion if
|
// Setting icons before window is realized can cause a GTK assertion if
|
||||||
// another TLW is realized before this one, and it has this one as it's
|
// another TLW is realized before this one, and it has this one as its
|
||||||
// transient parent. The life demo exibits this problem.
|
// transient parent. The life demo exibits this problem.
|
||||||
if (m_widget && gtk_widget_get_realized(m_widget))
|
if (m_widget && gtk_widget_get_realized(m_widget))
|
||||||
{
|
{
|
||||||
|
@@ -852,7 +852,7 @@ bool wxTextCtrl::CanRedo() const
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// implemenation details
|
// implementation details
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
void wxTextCtrl::Command(wxCommandEvent & event)
|
void wxTextCtrl::Command(wxCommandEvent & event)
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: src/osx/cocoa/nonownedwnd.mm
|
// Name: src/osx/cocoa/nonownedwnd.mm
|
||||||
// Purpose: non owned window for cocoa
|
// Purpose: non owned window for cocoa
|
||||||
// Author: DavidStefan Csomor
|
// Author: Stefan Csomor
|
||||||
// Modified by:
|
// Modified by:
|
||||||
// Created: 2008-06-20
|
// Created: 2008-06-20
|
||||||
// Copyright: (c) Stefan Csomor
|
// Copyright: (c) Stefan Csomor
|
||||||
|
@@ -475,7 +475,7 @@ void wxSlider::DoSetSize(int x, int y, int w, int h, int sizeFlags)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// yet another hack since this is a composite control
|
// yet another hack since this is a composite control
|
||||||
// when wxSlider has it's size hardcoded, we're not allowed to
|
// when wxSlider has its size hardcoded, we're not allowed to
|
||||||
// change the size. But when the control has labels, we DO need
|
// change the size. But when the control has labels, we DO need
|
||||||
|
|
||||||
// to resize the internal Mac control to accommodate the text labels.
|
// to resize the internal Mac control to accommodate the text labels.
|
||||||
|
Reference in New Issue
Block a user