No real changes, just fix some typos in comments in wxMSW code.

Closes #14994.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-01-23 11:44:26 +00:00
parent 3e5f88c6d2
commit 070d639118
12 changed files with 17 additions and 17 deletions

View File

@@ -61,7 +61,7 @@ namespace
// 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

View File

@@ -1284,7 +1284,7 @@ static DWORD wxRasMonitorThread(wxRasThreadData *data)
}
// 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;

View File

@@ -1540,14 +1540,14 @@ wxString wxAMMediaBackend::GetErrorString(HRESULT hrdsv)
{
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);
}
}

View File

@@ -28,7 +28,7 @@
// 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.
//
@@ -861,7 +861,7 @@ bool wxWMP10MediaBackend::CreateControl(wxControl* ctrl, wxWindow* parent,
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);
@@ -1472,7 +1472,7 @@ wxFORCE_LINK_THIS_MODULE(wxmediabackend_wmp10)
// 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")
//

View File

@@ -1269,7 +1269,7 @@ void wxActiveXContainer::OnKillFocus(wxFocusEvent& event)
// 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)

View File

@@ -930,7 +930,7 @@ void wxDataObject::SetAutoDelete()
((wxIDataObject *)m_pIDataObject)->SetDeleteFlag();
m_pIDataObject->Release();
// so that the dtor doesnt' crash
// so that the dtor doesn't crash
m_pIDataObject = NULL;
}
@@ -1316,7 +1316,7 @@ size_t wxFileDataObject::GetDataSize() const
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();

View File

@@ -396,7 +396,7 @@ void wxWindowsPrintNativeData::InitializeDevMode(const wxString& printerName, Wi
// 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() )
{

View File

@@ -79,7 +79,7 @@ wxRegConfig::wxRegConfig(const wxString& appName, const wxString& vendorName,
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) )
{

View File

@@ -120,7 +120,7 @@ typedef struct thread_data{
#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)

View File

@@ -1486,7 +1486,7 @@ HRESULT STDMETHODCALLTYPE VirtualProtocol::Read(void *pv, ULONG cb, ULONG *pcbRe
}
else
{
//Dummy return to surpress a compiler warning
//Dummy return to suppress a compiler warning
wxFAIL;
return INET_E_DOWNLOAD_FAILURE;
}

View File

@@ -1,7 +1,7 @@
'''
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

View File

@@ -1430,7 +1430,7 @@ WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const
// 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 )
@@ -5451,7 +5451,7 @@ bool wxWindowMSW::HandleMouseEvent(WXUINT msg, int x, int y, WXUINT flags)
};
#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 )
{