Fix wxMSW build with wxUSE_DEFERRED_SIZING==0

Don't define BeginRepositioningChildren() and EndRepositioningChildren() at
all in this case instead of defining them as "do nothing" functions because
BeginRepositioningChildren() still needs to return a bool, so the old code
didn't compile and we would need to add another "#else" to fix this -- instead
make it simpler by just not compiling at all in this case.
This commit is contained in:
Vadim Zeitlin
2016-04-07 22:01:58 +02:00
parent 79b60780fe
commit 5368c72d37
2 changed files with 6 additions and 4 deletions

View File

@@ -61,8 +61,10 @@ public:
virtual void Raise();
virtual void Lower();
#if wxUSE_DEFERRED_SIZING
virtual bool BeginRepositioningChildren();
virtual void EndRepositioningChildren();
#endif // wxUSE_DEFERRED_SIZING
virtual bool Show(bool show = true);
virtual bool ShowWithEffect(wxShowEffect effect,