many changes; major ones:
1. start of !wxUSE_GUI support 2. _T() macro renamed to T() 3. wxConvertWX2MB and MB2WX macro added git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -93,7 +93,7 @@ void wxMemoryDC::SelectObject(const wxBitmap& bitmap)
|
||||
// a device context
|
||||
if (bitmap.GetSelectedInto() && (bitmap.GetSelectedInto() != this))
|
||||
{
|
||||
wxFatalError(_T("Error in wxMemoryDC::SelectObject\nBitmap is selected in another wxMemoryDC.\nDelete the first wxMemoryDC or use SelectObject(NULL)"));
|
||||
wxFatalError(T("Error in wxMemoryDC::SelectObject\nBitmap is selected in another wxMemoryDC.\nDelete the first wxMemoryDC or use SelectObject(NULL)"));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ void wxMemoryDC::SelectObject(const wxBitmap& bitmap)
|
||||
|
||||
if (bm == ERROR)
|
||||
{
|
||||
wxFatalError(_T("Error in wxMemoryDC::SelectObject\nBitmap may not be loaded, or may be selected in another wxMemoryDC.\nDelete the first wxMemoryDC to deselect bitmap."));
|
||||
wxFatalError(T("Error in wxMemoryDC::SelectObject\nBitmap may not be loaded, or may be selected in another wxMemoryDC.\nDelete the first wxMemoryDC to deselect bitmap."));
|
||||
}
|
||||
else if (!m_oldBitmap)
|
||||
m_oldBitmap = (WXHBITMAP) bm;
|
||||
|
||||
Reference in New Issue
Block a user