+ PostCreation(size);
+
+ // need to set non default alignment?
+ gfloat xalign = 0;
+ if ( style & wxALIGN_CENTER )
+ xalign = 0.5;
+ else if ( style & wxALIGN_RIGHT )
+ xalign = 1.0;
+
+ gtk_frame_set_label_align(GTK_FRAME(m_widget), xalign, 0.5);
+
+ if (gtk_check_version(2, 12, 0))
+ {
+ // we connect this signal to perform label-clipping as GTK >= 2.12 does
+ g_signal_connect(m_widget, "size_allocate", G_CALLBACK(size_allocate), NULL);
+ }
+
+ return true;
+}