add wxRenderer::GetCheckBoxSize(); refactor wxGTK code to avoid duplication (#9642)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -104,5 +104,27 @@ void gtk_window_set_policy (GtkWindow *window,
|
||||
|
||||
} // extern "C"
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// various private helper functions
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
namespace wxGTKPrivate
|
||||
{
|
||||
|
||||
// these functions create the GTK widgets of the specified types which can then
|
||||
// used to retrieve their styles, pass them to drawing functions &c
|
||||
//
|
||||
// the returned widgets shouldn't be destroyed, this is done automatically on
|
||||
// shutdown
|
||||
GtkWidget *GetButtonWidget();
|
||||
GtkWidget *GetCheckButtonWidget();
|
||||
GtkWidget *GetEntryWidget();
|
||||
GtkWidget *GetHeaderButtonWidget();
|
||||
GtkWidget *GetSplitterWidget();
|
||||
GtkWidget *GetTreeWidget();
|
||||
|
||||
} // wxGTKPrivate
|
||||
|
||||
#endif // _WX_GTK_PRIVATE_H_
|
||||
|
||||
|
Reference in New Issue
Block a user