--- gigedit/trunk/src/gigedit/dimregionedit.h 2017/07/23 18:31:53 3329 +++ gigedit/trunk/src/gigedit/dimregionedit.h 2017/11/14 18:07:25 3364 @@ -26,13 +26,19 @@ # include #endif +#include "compat.h" + #include #include #include #include #include #include -#include +#if USE_GTKMM_GRID +# include +#else +# include +#endif #include @@ -75,7 +81,7 @@ bool sensitive); }; -class EGStateOptions : public Gtk::HBox { +class EGStateOptions : public HBox { public: Gtk::Label label; BoolBox checkBoxAttack; @@ -130,7 +136,11 @@ Gtk::Tooltips tooltips; #endif +#if USE_GTKMM_GRID + Gtk::Grid* table[7]; +#else Gtk::Table* table[7]; +#endif Gtk::Label* lSample; @@ -246,7 +256,7 @@ void addProp(BoolEntry& boolentry); void addProp(BoolEntryPlus6& boolentry); void addProp(LabelWidget& labelwidget); - void addLine(Gtk::HBox& line); + void addLine(HBox& line); void addString(const char* labelText, Gtk::Label*& label, Gtk::Entry*& widget); void addString(const char* labelText, Gtk::Label*& label,