git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32639
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
+#else // __WXWINCE__
+ wxUnusedVar(envVariable);
+#endif // !__WXWINCE__/__WXWINCE__
}
// Given a full filename (with path), ensure that that file can
}
// Given a full filename (with path), ensure that that file can
wxStrcat (tcp, wxT("}"));
wxStrcat (tcp, wxFileFunctionsBuffer);
}
wxStrcat (tcp, wxT("}"));
wxStrcat (tcp, wxFileFunctionsBuffer);
}
+#else
+ wxUnusedVar(envname);
#endif
// Handle User's home (ignore root homes!)
#endif
// Handle User's home (ignore root homes!)
// TODO ?
return NULL;
#elif defined(__WXWINCE__)
// TODO ?
return NULL;
#elif defined(__WXWINCE__)
+ // TODO
+ wxUnusedVar(buf);
+ wxUnusedVar(sz);
return NULL;
#else
if ( !buf )
return NULL;
#else
if ( !buf )
#ifdef __WIN32__
#ifdef __WXWINCE__
// No equivalent in WinCE
#ifdef __WIN32__
#ifdef __WXWINCE__
// No equivalent in WinCE
return false;
#else
return (bool)(SetCurrentDirectory(d) != 0);
return false;
#else
return (bool)(SetCurrentDirectory(d) != 0);
// Or maybe we can dynamically load them from ceshell.dll
// or similar.
#if defined(__WXWINCE__) && _WIN32_WCE >= 400
// Or maybe we can dynamically load them from ceshell.dll
// or similar.
#if defined(__WXWINCE__) && _WIN32_WCE >= 400
return false;
#else
HRESULT hr;
return false;
#else
HRESULT hr;
{
#if defined(__WXWINCE__) && _WIN32_WCE >= 400
// Not available, see note above
{
#if defined(__WXWINCE__) && _WIN32_WCE >= 400
// Not available, see note above
#else
HRESULT hr = ::RevokeDragDrop((HWND) hwnd);
#else
HRESULT hr = ::RevokeDragDrop((HWND) hwnd);
WXLRESULT wxStaticBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
{
WXLRESULT wxStaticBox::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)
{
case WM_NCHITTEST:
{
// This code breaks some other processing such as enter/leave tracking
case WM_NCHITTEST:
{
// This code breaks some other processing such as enter/leave tracking
return wxControl::MSWWindowProc(nMsg, wParam, lParam);
}
return wxControl::MSWWindowProc(nMsg, wParam, lParam);
}
return HandleTooltipNotify(code, lParam, tool->GetShortHelp());
#else
return HandleTooltipNotify(code, lParam, tool->GetShortHelp());
#else