diff --git a/juce_amalgamated.h b/juce_amalgamated.h index 43e573cb7b..ef85cfd563 100644 --- a/juce_amalgamated.h +++ b/juce_amalgamated.h @@ -45996,6 +45996,9 @@ public: /** @internal */ const MouseCursor getMouseCursor(); + /** Can be overridden for more control over the pop-up menu behaviour. */ + virtual void showColumnChooserMenu (const int columnIdClicked); + juce_UseDebuggingNewOperator private: @@ -46024,7 +46027,6 @@ private: void endDrag (const int finalIndex); int getResizeDraggerAt (const int mouseX) const throw(); void updateColumnUnderMouse (int x, int y); - void showColumnChooserMenu (const int); void resizeColumnsToFit (int firstColumnIndex, int targetTotalWidth); TableHeaderComponent (const TableHeaderComponent&); diff --git a/src/juce_appframework/gui/components/controls/juce_TableHeaderComponent.h b/src/juce_appframework/gui/components/controls/juce_TableHeaderComponent.h index d9d35cd78e..fc570e5ba8 100644 --- a/src/juce_appframework/gui/components/controls/juce_TableHeaderComponent.h +++ b/src/juce_appframework/gui/components/controls/juce_TableHeaderComponent.h @@ -398,6 +398,9 @@ public: /** @internal */ const MouseCursor getMouseCursor(); + /** Can be overridden for more control over the pop-up menu behaviour. */ + virtual void showColumnChooserMenu (const int columnIdClicked); + juce_UseDebuggingNewOperator private: @@ -426,7 +429,6 @@ private: void endDrag (const int finalIndex); int getResizeDraggerAt (const int mouseX) const throw(); void updateColumnUnderMouse (int x, int y); - void showColumnChooserMenu (const int); void resizeColumnsToFit (int firstColumnIndex, int targetTotalWidth); TableHeaderComponent (const TableHeaderComponent&);