No real changes, just fix some typos in comments.
Closes #14276. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1375,7 +1375,7 @@ wxSize wxComboCtrlBase::DoGetBestSize() const
|
||||
else
|
||||
fhei = sizeText.y + 4;
|
||||
|
||||
// Need to force height to accomodate bitmap?
|
||||
// Need to force height to accommodate bitmap?
|
||||
int btnSizeY = m_btnSize.y;
|
||||
if ( m_bmpNormal.IsOk() && fhei < btnSizeY )
|
||||
fhei = btnSizeY;
|
||||
|
@@ -293,7 +293,7 @@ ParseFormatAt(wxString::const_iterator& p,
|
||||
wxDateTime dt;
|
||||
|
||||
// Use a default date outside of the DST period to avoid problems with
|
||||
// parsing the time differently depending on the todays date (which is used
|
||||
// parsing the time differently depending on the today's date (which is used
|
||||
// as the fall back date if none is explicitly specified).
|
||||
static const wxDateTime dtDef(1, wxDateTime::Jan, 2012);
|
||||
|
||||
|
@@ -1292,7 +1292,7 @@ void wxDC::DrawLabel(const wxString& text,
|
||||
{
|
||||
if ( pc - text.begin() == indexAccel )
|
||||
{
|
||||
// remeber to draw underscore here
|
||||
// remember to draw underscore here
|
||||
GetTextExtent(curLine, &startUnderscore, NULL);
|
||||
curLine += *pc;
|
||||
GetTextExtent(curLine, &endUnderscore, NULL);
|
||||
|
@@ -1798,7 +1798,7 @@ bool wxFileName::SameAs(const wxFileName& filepath, wxPathFormat format) const
|
||||
/* static */
|
||||
bool wxFileName::IsCaseSensitive( wxPathFormat format )
|
||||
{
|
||||
// only Unix filenames are truely case-sensitive
|
||||
// only Unix filenames are truly case-sensitive
|
||||
return GetFormat(format) == wxPATH_UNIX;
|
||||
}
|
||||
|
||||
|
@@ -552,7 +552,7 @@ bool wxTIFFHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbos
|
||||
|
||||
/*
|
||||
Set the image resolution if it's available. Resolution tag is not
|
||||
dependant on RESOLUTIONUNIT != RESUNIT_NONE (according to TIFF spec).
|
||||
dependent on RESOLUTIONUNIT != RESUNIT_NONE (according to TIFF spec).
|
||||
*/
|
||||
float resX, resY;
|
||||
|
||||
|
@@ -544,7 +544,7 @@ void wxMediaBackendCommonBase::QueueStopEvent()
|
||||
//
|
||||
#include "wx/html/forcelnk.h"
|
||||
|
||||
#ifdef __WXMSW__ // MSW has huge backends so we do it seperately
|
||||
#ifdef __WXMSW__ // MSW has huge backends so we do it separately
|
||||
FORCE_LINK(wxmediabackend_am)
|
||||
FORCE_LINK(wxmediabackend_wmp10)
|
||||
#elif !defined(__WXOSX_COCOA__)
|
||||
|
@@ -33,7 +33,7 @@
|
||||
// ============================================================================
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// region comparision
|
||||
// region comparison
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
bool wxRegionBase::IsEqual(const wxRegion& region) const
|
||||
|
@@ -885,7 +885,7 @@ private:
|
||||
};
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxMsgCatalogFile clas
|
||||
// wxMsgCatalogFile class
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
wxMsgCatalogFile::wxMsgCatalogFile()
|
||||
|
@@ -817,7 +817,7 @@ bool wxURI::ParseH16(const char*& uri)
|
||||
//
|
||||
// Parses a certain version of an IP address and moves the input string past
|
||||
// it. Returns true if the input string contains the proper version of an ip
|
||||
// address. It is the caller's responsability to move the input string back
|
||||
// address. It is the caller's responsibility to move the input string back
|
||||
// to its original position on failure.
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
|
@@ -393,7 +393,7 @@ void wxTypeInfo::Unregister()
|
||||
ms_typeTable->erase(m_name);
|
||||
}
|
||||
|
||||
// removing header dependancy on string tokenizer
|
||||
// removing header dependency on string tokenizer
|
||||
|
||||
void wxSetStringToArray( const wxString &s, wxArrayString &array )
|
||||
{
|
||||
|
@@ -478,7 +478,7 @@ struct wxObjectRuntimeReaderCallback::wxObjectRuntimeReaderCallbackInternal
|
||||
return NULL;
|
||||
if ( m_objects.find(objectID) == m_objects.end() )
|
||||
{
|
||||
wxLogError( _("Passing an unkown object to GetObject") );
|
||||
wxLogError( _("Passing an unknown object to GetObject") );
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user