#pragma interface "tipwin.h"
#endif
+#if wxUSE_TIPWINDOW
+
+#if wxUSE_POPUPWIN
+#include "wx/popupwin.h"
+#else
#include "wx/frame.h"
+#endif
// ----------------------------------------------------------------------------
// wxTipWindow
// ----------------------------------------------------------------------------
+#if wxUSE_POPUPWIN
+class WXDLLEXPORT wxTipWindow : public wxPopupTransientWindow
+#else
class WXDLLEXPORT wxTipWindow : public wxFrame
+#endif
{
friend class wxTipWindowView;
public:
void SetTipWindowPtr(wxTipWindow** windowPtr) { m_windowPtr = windowPtr; }
+ void Close();
+
protected:
// event handlers
void OnMouseClick(wxMouseEvent& event);
+#if !wxUSE_POPUPWIN
void OnActivate(wxActivateEvent& event);
void OnKillFocus(wxFocusEvent& event);
+#endif
private:
wxArrayString m_textLines;
DECLARE_EVENT_TABLE()
};
+#endif // wxUSE_TIPWINDOW
#endif // _WX_TIPWIN_H_