wxgtk_window_size_request_callback is not needed by wxStaticText anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -257,11 +257,11 @@ gdk_window_warp_pointer (GdkWindow *window,
|
|||||||
// "size_request" of m_widget
|
// "size_request" of m_widget
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
// make it extern because wxStaticText needs to disconnect this one
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
void wxgtk_window_size_request_callback(GtkWidget * WXUNUSED(widget),
|
static void
|
||||||
GtkRequisition *requisition,
|
wxgtk_window_size_request_callback(GtkWidget * WXUNUSED(widget),
|
||||||
wxWindow * win)
|
GtkRequisition *requisition,
|
||||||
|
wxWindow * win)
|
||||||
{
|
{
|
||||||
int w, h;
|
int w, h;
|
||||||
win->GetSize( &w, &h );
|
win->GetSize( &w, &h );
|
||||||
|
Reference in New Issue
Block a user