Closes #14276.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71375
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
else
fhei = sizeText.y + 4;
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;
int btnSizeY = m_btnSize.y;
if ( m_bmpNormal.IsOk() && fhei < btnSizeY )
fhei = btnSizeY;
wxDateTime dt;
// Use a default date outside of the DST period to avoid problems with
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);
// as the fall back date if none is explicitly specified).
static const wxDateTime dtDef(1, wxDateTime::Jan, 2012);
{
if ( pc - text.begin() == indexAccel )
{
{
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);
GetTextExtent(curLine, &startUnderscore, NULL);
curLine += *pc;
GetTextExtent(curLine, &endUnderscore, NULL);
/* static */
bool wxFileName::IsCaseSensitive( wxPathFormat format )
{
/* 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;
}
return GetFormat(format) == wxPATH_UNIX;
}
/*
Set the image resolution if it's available. Resolution tag is not
/*
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).
//
#include "wx/html/forcelnk.h"
//
#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__)
FORCE_LINK(wxmediabackend_am)
FORCE_LINK(wxmediabackend_wmp10)
#elif !defined(__WXOSX_COCOA__)
// ============================================================================
// ----------------------------------------------------------------------------
// ============================================================================
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
bool wxRegionBase::IsEqual(const wxRegion& region) const
// ----------------------------------------------------------------------------
bool wxRegionBase::IsEqual(const wxRegion& region) const
};
// ----------------------------------------------------------------------------
};
// ----------------------------------------------------------------------------
-// wxMsgCatalogFile clas
+// wxMsgCatalogFile class
// ----------------------------------------------------------------------------
wxMsgCatalogFile::wxMsgCatalogFile()
// ----------------------------------------------------------------------------
wxMsgCatalogFile::wxMsgCatalogFile()
//
// 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
//
// 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.
// ---------------------------------------------------------------------------
// to its original position on failure.
// ---------------------------------------------------------------------------
ms_typeTable->erase(m_name);
}
ms_typeTable->erase(m_name);
}
-// removing header dependancy on string tokenizer
+// removing header dependency on string tokenizer
void wxSetStringToArray( const wxString &s, wxArrayString &array )
{
void wxSetStringToArray( const wxString &s, wxArrayString &array )
{
return NULL;
if ( m_objects.find(objectID) == m_objects.end() )
{
return NULL;
if ( m_objects.find(objectID) == m_objects.end() )
{
- wxLogError( _("Passing an unkown object to GetObject") );
+ wxLogError( _("Passing an unknown object to GetObject") );