X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fxforms%2FFormCharacter.C;h=5689892814207113a1e17f148c25da88eaf7f834;hb=14c60d0aaeff364a78f77e163e6eae5fc3dab8c0;hp=234ed12f11cc36516878784fbeef8eb77748d5e7;hpb=9c36dd0f40f2e2e90fce8b2f33519a5d99d9be8b;p=lyx.git diff --git a/src/frontends/xforms/FormCharacter.C b/src/frontends/xforms/FormCharacter.C index 234ed12f11..5689892814 100644 --- a/src/frontends/xforms/FormCharacter.C +++ b/src/frontends/xforms/FormCharacter.C @@ -25,10 +25,8 @@ #include "language.h" #include "combox.h" -#ifdef CXX_WORKING_NAMESPACES using Liason::setMinibuffer; -#endif - +using SigC::slot; FormCharacter::FormCharacter(LyXView * lv, Dialogs * d) : FormBaseBD(lv, d, _("Character Layout")) @@ -53,9 +51,7 @@ FL_FORM * FormCharacter::form() const void FormCharacter::build() { dialog_.reset(build_character()); - // Workaround dumb xforms sizing bug - minw_ = form()->w; - minh_ = form()->h; + // Manage the ok, apply and cancel/close buttons bc().setApply(dialog_->button_apply); bc().setCancel(dialog_->button_close);