Most of these are in MSVC++6.0 <wx\wince\winuser.h>
see also <wx\msw\gnuwin32\winresrc.h>
*/
+
+// ----------------------------------------------------------------------------
+// Used in msgdlg.cpp, evtloop.cpp
+// ----------------------------------------------------------------------------
+
+#ifndef MB_TASKMODAL
+#define MB_TASKMODAL 0x2000
+#endif
+
////////////////////////////////////////////////////////
// JACS: I've commented these out in order to start from
#endif // !UNICODE
#endif
+ // 0
////////////////////////////////////////////////////////
#include "wx/msw/private.h"
+// For MB_TASKMODAL
+#ifdef __WXWINCE__
+#include "wx/msw/wince/missing.h"
+#endif
+
#if wxUSE_THREADS
#include "wx/thread.h"
#include "wx/msw/private.h"
+// For MB_TASKMODAL
+#ifdef __WXWINCE__
+#include "wx/msw/wince/missing.h"
+#endif
+
IMPLEMENT_CLASS(wxMessageDialog, wxDialog)
wxMessageDialog::wxMessageDialog(wxWindow *parent,
if (hWnd)
msStyle |= MB_APPLMODAL;
-#ifndef __WXWINCE__
else
msStyle |= MB_TASKMODAL;
-#endif
// do show the dialog
int msAns = MessageBox(hWnd, m_message.c_str(), m_caption.c_str(), msStyle);
wstyle |= TVS_CHECKBOXES;
#endif // wxUSE_CHECKBOXES_IN_MULTI_SEL_TREE
+#ifndef __WXWINCE__
// Need so that TVN_GETINFOTIP messages will be sent
wstyle |= TVS_INFOTIP;
+#endif
// Create the tree control.
if ( !MSWCreateControl(WC_TREEVIEW, wstyle) )
break;
}
-
+#ifndef __WXWINCE__
// These *must* not be removed or TVN_GETINFOTIP will
// not be processed each time the mouse is moved
// and the tooltip will only ever update once.
break;
}
+#endif
case TVN_GETDISPINFO:
eventType = wxEVT_COMMAND_TREE_GET_INFO;
DeleteTextCtrl();
break;
+#ifndef __WXWINCE__
case TVN_GETINFOTIP:
{
// If the user permitted a tooltip change, change it
}
}
break;
+#endif
case TVN_SELCHANGING:
case TVN_ITEMEXPANDING: