merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -127,7 +127,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
# if defined(__WXDEBUG__) && wxUSE_GLOBAL_MEMORY_OPERATORS && wxUSE_DEBUG_NEW_ALWAYS
|
||||
# define new new(__FILE__,__LINE__)
|
||||
# define new new(__TFILE__,__LINE__)
|
||||
# endif
|
||||
|
||||
#endif
|
||||
@@ -163,7 +163,7 @@ bool wxGetHostName(wxChar *buf, int maxSize)
|
||||
DWORD nSize = maxSize;
|
||||
if ( !::GetComputerName(buf, &nSize) )
|
||||
{
|
||||
wxLogLastError("GetComputerName");
|
||||
wxLogLastError(wxT("GetComputerName"));
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
@@ -450,7 +450,7 @@ bool wxDirExists(const wxString& dir)
|
||||
|
||||
if ( h == INVALID_HANDLE_VALUE )
|
||||
{
|
||||
wxLogLastError("FindFirstFile");
|
||||
wxLogLastError(wxT("FindFirstFile"));
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
@@ -910,8 +910,6 @@ bool wxCheckForInterrupt(wxWindow *wnd)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
#endif // wxUSE_GUI
|
||||
|
||||
// MSW only: get user-defined resource from the .res file.
|
||||
// Returns NULL or newly-allocated memory, so use delete[] to clean up.
|
||||
|
||||
@@ -1052,6 +1050,8 @@ WXWORD WXDLLEXPORT wxGetWindowId(WXHWND hWnd)
|
||||
#endif // Win16/32
|
||||
}
|
||||
|
||||
#endif // wxUSE_GUI
|
||||
|
||||
#if 0
|
||||
//------------------------------------------------------------------------
|
||||
// wild character routines
|
||||
@@ -1209,7 +1209,7 @@ bool wxMatchWild( const wxString& pat, const wxString& text, bool dot_special )
|
||||
return ((*str == '\0') && (*pattern == '\0'));
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // 0
|
||||
|
||||
#if 0
|
||||
|
||||
|
Reference in New Issue
Block a user