Cleanup, no functional change

This commit is contained in:
John Scipione 2013-01-14 15:16:06 -05:00
parent dc871e324d
commit 74a0eef547
2 changed files with 6 additions and 11 deletions

View File

@ -231,8 +231,7 @@ PreferencesWindow::PreferencesWindow(BRect frame)
BLayoutBuilder::Group<>(this)
.Add(tabView)
.SetInsets(B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING,
B_USE_DEFAULT_SPACING, B_USE_DEFAULT_SPACING)
.SetInsets(B_USE_DEFAULT_SPACING)
.End();
CenterOnScreen();

View File

@ -22,13 +22,9 @@ const uint32 kResizeTeamIcons = 'RTIs';
const uint32 kAutoRaise = 'AtRs';
const uint32 kAutoHide = 'AtHd';
class BBox;
class BButton;
class BCheckBox;
class BListView;
class BRadioButton;
class BSlider;
class BStringView;
class BTextControl;
class PreferencesWindow : public BWindow
@ -37,12 +33,12 @@ public:
PreferencesWindow(BRect frame);
~PreferencesWindow();
virtual void MessageReceived(BMessage* message);
virtual bool QuitRequested();
virtual void WindowActivated(bool active);
virtual void MessageReceived(BMessage* message);
virtual bool QuitRequested();
virtual void WindowActivated(bool active);
void UpdateRecentCounts();
void EnableDisableDependentItems();
void UpdateRecentCounts();
void EnableDisableDependentItems();
private:
BCheckBox* fMenuRecentDocuments;