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;
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);
{
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);
/* 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;
}
/*
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;
//
#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__)
// ============================================================================
// ----------------------------------------------------------------------------
-// region comparision
+// region comparison
// ----------------------------------------------------------------------------
bool wxRegionBase::IsEqual(const wxRegion& region) const
};
// ----------------------------------------------------------------------------
-// wxMsgCatalogFile clas
+// wxMsgCatalogFile class
// ----------------------------------------------------------------------------
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
-// 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.
// ---------------------------------------------------------------------------
ms_typeTable->erase(m_name);
}
-// removing header dependancy on string tokenizer
+// removing header dependency on string tokenizer
void wxSetStringToArray( const wxString &s, wxArrayString &array )
{
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;
}