I am trying to place GTK+ control on the wxPanel.
Here is my code:
Code: Select all
CFontPropertyPage::CFontPropertyPage(wxWindow* parent, wxFont *font, int id, const wxPoint& pos, const wxSize& size, long style)
: wxPanel(parent, id, pos, size, wxTAB_TRAVERSAL)
{
m_font = font;
m_fontPanel = gtk_font_selection_new();
g_object_ref( m_fontPanel );
g_signal_connect( m_fontPanel, "realize", G_CALLBACK( set_font ), &font );
DoAddChild( m_fontPanel );
PostCreation( size );
}
I already have a half-baked MSW version and now I'd like to have GTK+ version.
Thank you for any pointers.