// reset the cursor
#ifdef __WXMOTIF__
SetCursor(* wxSTANDARD_CURSOR);
-#else
+#endif
+#ifdef __WXMSW__
SetCursor(wxCursor());
#endif
}
else
{
- wxFAIL_MSG("splitter: attempt to remove a non-existent window");
+ wxFAIL_MSG(_T("splitter: attempt to remove a non-existent window"));
return FALSE;
}
// Replace a window with another one
bool wxSplitterWindow::ReplaceWindow(wxWindow *winOld, wxWindow *winNew)
{
- wxCHECK_MSG( winOld, FALSE, "use one of Split() functions instead" );
- wxCHECK_MSG( winNew, FALSE, "use Unsplit() functions instead" );
+ wxCHECK_MSG( winOld, FALSE, _T("use one of Split() functions instead") );
+ wxCHECK_MSG( winNew, FALSE, _T("use Unsplit() functions instead") );
if ( winOld == m_windowTwo )
{
}
else
{
- wxFAIL_MSG("splitter: attempt to replace a non-existent window");
+ wxFAIL_MSG(_T("splitter: attempt to replace a non-existent window"));
return FALSE;
}