git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34405
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_server = NULL;
#endif
}
m_server = NULL;
#endif
}
bool hasWindowName = false;
bool createServer = false;
bool hasWindowName = false;
bool createServer = false;
wxOPEN | wxFILE_MUST_EXIST,
NULL);
wxOPEN | wxFILE_MUST_EXIST,
NULL);
{
book[0] = s;
bookCount = 1;
{
book[0] = s;
bookCount = 1;
wxUnusedVar(createServer);
}
wxUnusedVar(createServer);
}
//now add help
wxInitAllImageHandlers();
//now add help
wxInitAllImageHandlers();
wxObjectList::compatibility_iterator node = m_connections.GetFirst();
while (node)
{
wxObjectList::compatibility_iterator node = m_connections.GetFirst();
while (node)
{
wxConnectionBase *hvServer::OnAcceptConnection(const wxString& topic)
{
wxConnectionBase *hvServer::OnAcceptConnection(const wxString& topic)
{
#pragma interface "help.cpp"
#endif
#pragma interface "help.cpp"
#endif
-#define hvVERSION 1.03
-
-// If 1, start a server to allow this to be used
-// as an external help viewer.
-#if ( defined(__WXMAC__) || defined(__WXMGL__) ) && !defined(__UNIX__)
-#define hvUSE_IPC 0
-#else
-#define hvUSE_IPC 1
-#endif
/// Returns the help controller.
wxHtmlHelpController* GetHelpController() { return m_helpController; }
/// Returns the help controller.
wxHtmlHelpController* GetHelpController() { return m_helpController; }
/// Returns the list of connections.
wxList& GetConnections() { return m_connections; }
#endif
/// Returns the list of connections.
wxList& GetConnections() { return m_connections; }
#endif
private:
wxHtmlHelpController* m_helpController;
private:
wxHtmlHelpController* m_helpController;
wxList m_connections;
hvServer* m_server;
#endif
};
wxList m_connections;
hvServer* m_server;
#endif
};
class hvConnection : public wxConnection
{
public:
class hvConnection : public wxConnection
{
public: