// space around check mark bitmap in pixels
static const int CHECKMARK_EXTRA_SPACE = 1;
- // space betwen check bitmap and text label
+ // space between check bitmap and text label
static const int CHECKMARK_LABEL_SPACE = 2;
} // anonymous namespace
}
// we don't need it any more now and if this thread ran, it is our
- // responsability to free the data
+ // responsibility to free the data
delete data;
return 0;
{
return wxString::Format(wxT("DirectShow error \"%s\" \n")
wxT("(numeric %X)\n")
- wxT("occured"),
+ wxT("occurred"),
szError, (int)hrdsv);
}
else
{
return wxString::Format(wxT("Unknown error \n")
wxT("(numeric %X)\n")
- wxT("occured"),
+ wxT("occurred"),
(int)hrdsv);
}
}
// is about to be played - and if the user didn't change the state of the
// media (m_bWasStateChanged), when set it back to the stop state.
//
-// The ActiveX control itself is particularily stubborn, calling
+// The ActiveX control itself is particularly stubborn, calling
// IOleInPlaceSite::OnPosRectChange every file change trying to set itself
// to something different then what we told it to before.
//
IWMPPlayer2* pWMPPlayer2; // Only 2 has windowless video and stretchtofit
if(m_pWMPPlayer->QueryInterface(IID_IWMPPlayer2, (void**)&pWMPPlayer2) == 0)
{
- // We don't check errors here as these arn't particularily important
+ // We don't check errors here as these arn't particularly important
// and may not be implemented (i.e. stretchToFit on CE)
pWMPPlayer2->put_windowlessVideo(VARIANT_TRUE);
pWMPPlayer2->put_stretchToFit(VARIANT_TRUE);
// you playing a file through WMP.
//
// Here are those hacks. They do indeed "work" as expected - just call
-// SendMessage with one of those myterious values layed out in
+// SendMessage with one of those myterious values laid out in
// Peter Foot's Friday, May 21, 2004 Blog Post on the issue.
// (He says they are in a registery section entitled "Pendant Bus")
//
// wxActiveXContainer::MSWTranslateMessage
//
// Called for every message that needs to be translated.
-// Some controls might need more keyboard keys to process (CTRL-C, CTRL-A ect),
+// Some controls might need more keyboard keys to process (CTRL-C, CTRL-A etc),
// In that case TranslateAccelerator should always be called first.
//---------------------------------------------------------------------------
bool wxActiveXContainer::MSWTranslateMessage(WXMSG* pMsg)
((wxIDataObject *)m_pIDataObject)->SetDeleteFlag();
m_pIDataObject->Release();
- // so that the dtor doesnt' crash
+ // so that the dtor doesn't crash
m_pIDataObject = NULL;
}
static const size_t sizeOfChar = sizeof(wxChar);
#endif // wxUSE_UNICODE_MSLU/!wxUSE_UNICODE_MSLU
- // inital size of DROPFILES struct + null byte
+ // initial size of DROPFILES struct + null byte
size_t sz = sizeof(DROPFILES) + sizeOfChar;
const size_t count = m_filenames.size();
// From MSDN: How To Modify Printer Settings with the DocumentProperties() Function
// The purpose of this is to fill the DEVMODE with privdata from printer driver.
- // If we have a printer name and OpenPrinter sucessfully returns
+ // If we have a printer name and OpenPrinter successfully returns
// this replaces the PrintDlg function which creates the DEVMODE filled only with data from default printer.
if ( !m_devMode && !printerName.IsEmpty() )
{
bool bDoUseGlobal = (style & wxCONFIG_USE_GLOBAL_FILE) != 0;
// the convention is to put the programs keys under <vendor>\<appname>
- // (but it can be overridden by specifying the pathes explicitly in strLocal
+ // (but it can be overridden by specifying the paths explicitly in strLocal
// and/or strGlobal)
if ( strLocal.empty() || (strGlobal.empty() && bDoUseGlobal) )
{
#ifdef __WXWINCE__
/* This thread handles socket events on WinCE using WSAEventSelect() as
* WSAAsyncSelect is not supported. When an event occurs for the socket, it is
- * checked what kind of event happend and the correct message gets posted so
+ * checked what kind of event happened and the correct message gets posted so
* that the hidden window can handle it as it would in other MSW builds.
*/
DWORD WINAPI SocketThread(LPVOID data)
}
else
{
- //Dummy return to surpress a compiler warning
+ //Dummy return to suppress a compiler warning
wxFAIL;
return INET_E_DOWNLOAD_FAILURE;
}
'''
This script will delete dependences from *.vcp files.
After using this script, next time when you will try to save project,
-you will have wait untill 'Visual Tools' will rebuild all dependencies
+you will have wait until 'Visual Tools' will rebuild all dependencies
and this process might take HUGE amount of time
Author : Viktor Voroshylo
// it doesn't seem useful to use WS_CLIPSIBLINGS here as we officially
// don't support overlapping windows and it only makes sense for them and,
// presumably, gives the system some extra work (to manage more clipping
- // regions), so avoid it alltogether
+ // regions), so avoid it altogether
if ( flags & wxVSCROLL )
};
#ifdef wxHAS_XBUTTON
- // the same messages are used for both auxillary mouse buttons so we need
+ // the same messages are used for both auxiliary mouse buttons so we need
// to adjust the index manually
switch ( msg )
{