git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@97
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxTabCtrl DONE
wxNotebook
wxWave DONE
wxTabCtrl DONE
wxNotebook
wxWave DONE
wxStatusBar95 and wxFrame status bar functions
wxListBox changes (for ownerdraw functionality)
wxThread DONE (except for topic overview)
wxStatusBar95 and wxFrame status bar functions
wxListBox changes (for ownerdraw functionality)
wxThread DONE (except for topic overview)
+ wxHelpController classes DONE (except for Unix ones)
wxString
wxTString
Drag and drop (change API if required, e.g. const).
wxCheckListBox
wxBaseArray, other arrays
(wxOwnerDrawn)
wxString
wxTString
Drag and drop (change API if required, e.g. const).
wxCheckListBox
wxBaseArray, other arrays
(wxOwnerDrawn)
Document the include file for each class
Write tutorial.
Document the include file for each class
Write tutorial.
{ m_eventType = wxEVT_SYS_COLOUR_CHANGED; }
};
{ m_eventType = wxEVT_SYS_COLOUR_CHANGED; }
};
-/* TODO, apart from events for individual controls...
wxEVT_POWER,
wxEVT_CREATE,
wxEVT_DESTROY,
wxEVT_POWER,
wxEVT_CREATE,
wxEVT_DESTROY,
wxEVT_MOUSE_CAPTURE_CHANGED,
wxEVT_SETTING_CHANGED, // WM_WININICHANGE (NT) / WM_SETTINGCHANGE (Win95)
wxEVT_QUERY_NEW_PALETTE,
wxEVT_MOUSE_CAPTURE_CHANGED,
wxEVT_SETTING_CHANGED, // WM_WININICHANGE (NT) / WM_SETTINGCHANGE (Win95)
wxEVT_QUERY_NEW_PALETTE,
#include "wx/generic/helpxlp.h"
#endif
#include "wx/generic/helpxlp.h"
#endif
+#ifdef __WINDOWS__
+#define wxHelpController wxWinHelpController
+#elif defined(__GTK__)
+#define wxHelpController wxHTMLHelpController
+#else
+#define wxHelpController wxXLPHelpController
+#endif
+
// Must call this to set the filename and server name.
// server is only required when implementing TCP/IP-based
// help controllers.
// Must call this to set the filename and server name.
// server is only required when implementing TCP/IP-based
// help controllers.
- virtual bool Initialize(const wxString& file, int server = -1) = 0;
+ virtual bool Initialize(const wxString& file, int server) { return FALSE; };
+ virtual bool Initialize(const wxString& file) = 0;
// If file is "", reloads file given in Initialize
virtual bool LoadFile(const wxString& file = "") = 0;
// If file is "", reloads file given in Initialize
virtual bool LoadFile(const wxString& file = "") = 0;
// Can't close the help window explicitly in WinHelp
bool wxWinHelpController::Quit(void)
{
// Can't close the help window explicitly in WinHelp
bool wxWinHelpController::Quit(void)
{
+ if (wxTheApp->GetTopWindow())
+ {
+ WinHelp((HWND) wxTheApp->GetTopWindow()->GetHWND(), 0, HELP_QUIT, 0L);
+ return TRUE;
+ }
+ else
+ return FALSE;
}
// Don't get notified of WinHelp quitting
}
// Don't get notified of WinHelp quitting