some Hildon integration work: use HildonProgram (for integration with the OS), HildonWindow (which has native appearance) and more native-like menus

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-11-12 00:25:09 +00:00
parent 60dd3c0916
commit e2f3bc4110
6 changed files with 64 additions and 2 deletions

View File

@@ -18,6 +18,10 @@
class WXDLLIMPEXP_FWD_BASE wxMutex;
#endif
#if wxUSE_LIBHILDON
typedef struct _HildonProgram HildonProgram;
#endif // wxUSE_LIBHILDON
//-----------------------------------------------------------------------------
// wxApp
//-----------------------------------------------------------------------------
@@ -58,6 +62,10 @@ public:
// must return XVisualInfo pointer (it is not freed by caller)
virtual void *GetXVisualInfo() { return NULL; }
#if wxUSE_LIBHILDON
// Maemo-specific method: get the main program object
HildonProgram *GetHildonProgram() const { return m_hildonProgram; }
#endif // wxUSE_LIBHILDON
// implementation only from now on
// -------------------------------
@@ -80,6 +88,10 @@ private:
#endif
guint m_idleSourceId;
#if wxUSE_LIBHILDON
HildonProgram *m_hildonProgram;
#endif // wxUSE_LIBHILDON
DECLARE_DYNAMIC_CLASS(wxApp)
};