new makefiles (part I)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -104,9 +104,11 @@ class wxApp: public wxEvtHandler
|
||||
void SetPrintMode( int WXUNUSED(mode) ) {}
|
||||
int GetPrintMode() const { return wxPRINT_POSTSCRIPT; }
|
||||
|
||||
#if wxUSE_LOG
|
||||
/* override this function to create default log target of arbitrary
|
||||
* user-defined classv (default implementation creates a wxLogGui object) */
|
||||
virtual wxLog *CreateLogTarget();
|
||||
#endif // wxUSE_LOG
|
||||
|
||||
// implementation
|
||||
|
||||
|
@@ -62,6 +62,7 @@ public:
|
||||
virtual bool Show( bool show );
|
||||
virtual void Centre( int direction = wxHORIZONTAL );
|
||||
|
||||
#if wxUSE_STATUSBAR
|
||||
virtual wxStatusBar* CreateStatusBar(int number=1, long style = wxST_SIZEGRIP, wxWindowID id = 0,
|
||||
const wxString& name = _T("statusBar"));
|
||||
virtual wxStatusBar *OnCreateStatusBar( int number, long style, wxWindowID id,
|
||||
@@ -70,12 +71,15 @@ public:
|
||||
inline void SetStatusBar(wxStatusBar *statusBar) { m_frameStatusBar = statusBar; }
|
||||
virtual void SetStatusText( const wxString &text, int number = 0 );
|
||||
virtual void SetStatusWidths( int n, const int widths_field[] );
|
||||
#endif // wxUSE_STATUSBAR
|
||||
|
||||
#if wxUSE_TOOLBAR
|
||||
virtual wxToolBar* CreateToolBar( long style = wxNO_BORDER|wxTB_HORIZONTAL, wxWindowID id = -1,
|
||||
const wxString& name = wxToolBarNameStr);
|
||||
virtual wxToolBar *OnCreateToolBar( long style, wxWindowID id, const wxString& name );
|
||||
virtual wxToolBar *GetToolBar() const;
|
||||
inline void SetToolBar(wxToolBar *toolbar) { m_frameToolBar = toolbar; }
|
||||
void SetToolBar(wxToolBar *toolbar) { m_frameToolBar = toolbar; }
|
||||
#endif // wxUSE_TOOLBAR
|
||||
|
||||
virtual void SetMenuBar( wxMenuBar *menuBar );
|
||||
virtual wxMenuBar *GetMenuBar() const;
|
||||
|
@@ -51,7 +51,9 @@ public:
|
||||
const wxValidator& validator = wxDefaultValidator,
|
||||
const wxString& name = wxListBoxNameStr )
|
||||
{
|
||||
#if wxUSE_CHECKLISTBOX
|
||||
m_hasCheckBoxes = FALSE;
|
||||
#endif // wxUSE_CHECKLISTBOX
|
||||
Create(parent, id, pos, size, n, choices, style, validator, name);
|
||||
}
|
||||
virtual ~wxListBox();
|
||||
@@ -117,7 +119,10 @@ public:
|
||||
GtkList *m_list;
|
||||
wxList m_clientDataList;
|
||||
wxList m_clientObjectList;
|
||||
|
||||
#if wxUSE_CHECKLISTBOX
|
||||
bool m_hasCheckBoxes;
|
||||
#endif // wxUSE_CHECKLISTBOX
|
||||
};
|
||||
|
||||
#endif // __GTKLISTBOXH__
|
||||
|
Reference in New Issue
Block a user