wxwidgets.cfg: Added support for wxMenuBar::Append().
This commit is contained in:
parent
43aac4696e
commit
d7072136dc
|
@ -1362,6 +1362,16 @@
|
|||
<not-uninit/>
|
||||
</arg>
|
||||
</function>
|
||||
<!-- virtual bool wxMenuBar::Append(wxMenu * menu, const wxString & title) -->
|
||||
<function name="wxMenuBar::Append">
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<returnValue type="bool"/>
|
||||
<arg nr="1">
|
||||
<not-uninit/>
|
||||
</arg>
|
||||
<arg nr="2"/>
|
||||
</function>
|
||||
<define name="DECLARE_EVENT_TABLE()" value="wxDECLARE_EVENT_TABLE()"/>
|
||||
<define name="wxDECLARE_EVENT_TABLE()" value="private: static const wxEventTableEntry sm_eventTableEntries[]; protected: const wxEventTable* GetEventTable() const; wxEventHashTable& GetEventHashTable() const; static const wxEventTable sm_eventTable; static wxEventHashTable sm_eventHashTable;"/>
|
||||
<define name="wxIMPLEMENT_APP(appname)" value="wxIMPLEMENT_WX_THEME_SUPPORT wxIMPLEMENT_APP_NO_THEMES(appname)"/>
|
||||
|
|
|
@ -82,12 +82,20 @@ void uninitvar(void)
|
|||
wxLogMessage(pcUninit);
|
||||
}
|
||||
|
||||
void uninitvar_SetMenuBar(wxFrame * const framePtr, wxMenuBar *menuBarPtr)
|
||||
void uninitvar_SetMenuBar(wxFrame * const framePtr, wxMenuBar * const menuBarPtr)
|
||||
{
|
||||
wxMenuBar *menuBar;
|
||||
// cppcheck-suppress uninitvar
|
||||
framePtr->SetMenuBar(menuBar);
|
||||
framePtr->SetMenuBar(menuBarPtr);
|
||||
}
|
||||
|
||||
void uninitvar_wxMenuBarAppend(wxMenuBar * const menuBarPtr, wxMenu * const menuPtr, const wxString &title)
|
||||
{
|
||||
wxMenu *menu;
|
||||
// cppcheck-suppress uninitvar
|
||||
menuBarPtr->Append(menu, title);
|
||||
menuBarPtr->Append(menuPtr, title);
|
||||
}
|
||||
|
||||
void deprecatedFunctions_wxDataViewCustomRenderer(wxDataViewCustomRenderer &dataViewCustomRenderer, wxPoint cursor, wxRect cell, wxDataViewModel *model, const wxDataViewItem &item, unsigned int col)
|
||||
|
|
Loading…
Reference in New Issue