diff options
Diffstat (limited to 'views/window/window_gtk.h')
-rw-r--r-- | views/window/window_gtk.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/views/window/window_gtk.h b/views/window/window_gtk.h index a670536..94cca05 100644 --- a/views/window/window_gtk.h +++ b/views/window/window_gtk.h @@ -24,7 +24,7 @@ class WindowGtk : public WidgetGtk, public Window { public: virtual ~WindowGtk(); - // Window overrides: + // Overridden from Window: virtual gfx::Rect GetBounds() const; virtual gfx::Rect GetNormalBounds() const; virtual void SetBounds(const gfx::Rect& bounds, @@ -61,6 +61,9 @@ class WindowGtk : public WidgetGtk, public Window { virtual Window* AsWindow() { return this; } virtual const Window* AsWindow() const { return this; } + // Overridden from WidgetGtk: + virtual void OnSizeAllocate(GtkWidget* widget, GtkAllocation* allocation); + protected: // For the constructor. friend class Window; |