git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58352
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// "size_request" of m_widget
//-----------------------------------------------------------------------------
// "size_request" of m_widget
//-----------------------------------------------------------------------------
-// make it extern because wxStaticText needs to disconnect this one
-void wxgtk_window_size_request_callback(GtkWidget * WXUNUSED(widget),
- GtkRequisition *requisition,
- wxWindow * win)
+static void
+wxgtk_window_size_request_callback(GtkWidget * WXUNUSED(widget),
+ GtkRequisition *requisition,
+ wxWindow * win)
{
int w, h;
win->GetSize( &w, &h );
{
int w, h;
win->GetSize( &w, &h );
{
// Get default border
wxBorder border = GetBorder(style);
{
// Get default border
wxBorder border = GetBorder(style);
style &= ~wxBORDER_MASK;
style |= border;
style &= ~wxBORDER_MASK;
style |= border;
- GtkScrolledWindowClass *scroll_class =
+ GtkScrolledWindowClass *scroll_class =
GTK_SCROLLED_WINDOW_CLASS( GTK_OBJECT_GET_CLASS(m_widget) );
GtkRequisition req;
GTK_SCROLLED_WINDOW_CLASS( GTK_OBJECT_GET_CLASS(m_widget) );
GtkRequisition req;