rename ImplWindowAutoMnemonic and expose
Change-Id: Iddb0d84b6dbfeb263a68ddc3b8b5c39bbdcf46f6
This commit is contained in:
@@ -82,6 +82,7 @@ public:
|
||||
Accelerator& operator=( const Accelerator& rAccel );
|
||||
|
||||
static bool ToggleMnemonicsOnHierarchy(const CommandEvent& rCEvent, vcl::Window *pWindow);
|
||||
static void GenerateAutoMnemonicsOnHierarchy(vcl::Window* pWindow);
|
||||
};
|
||||
|
||||
#endif // INCLUDED_VCL_ACCEL_HXX
|
||||
|
@@ -349,7 +349,6 @@ VCL_PLUGIN_PUBLIC ResMgr* ImplGetResMgr();
|
||||
VCL_PLUGIN_PUBLIC ResId VclResId( sal_Int32 nId ); // throws std::bad_alloc if no res mgr
|
||||
DockingManager* ImplGetDockingManager();
|
||||
BlendFrameCache* ImplGetBlendFrameCache();
|
||||
void ImplWindowAutoMnemonic( vcl::Window* pWindow );
|
||||
|
||||
bool ImplCallHotKey( const vcl::KeyCode& rKeyCode );
|
||||
void ImplFreeHotKeyData();
|
||||
|
@@ -189,7 +189,7 @@ vcl::Window * firstLogicalChildOfParent(vcl::Window *pTopLevel)
|
||||
return pChild;
|
||||
}
|
||||
|
||||
void ImplWindowAutoMnemonic( vcl::Window* pWindow )
|
||||
void Accelerator::GenerateAutoMnemonicsOnHierarchy(vcl::Window* pWindow)
|
||||
{
|
||||
MnemonicGenerator aMnemonicGenerator;
|
||||
vcl::Window* pGetChild;
|
||||
|
@@ -698,7 +698,7 @@ void DockingWindow::Resizing( Size& )
|
||||
void DockingWindow::DoInitialLayout()
|
||||
{
|
||||
if (GetSettings().GetStyleSettings().GetAutoMnemonic())
|
||||
ImplWindowAutoMnemonic( this );
|
||||
Accelerator::GenerateAutoMnemonicsOnHierarchy(this);
|
||||
|
||||
if (isLayoutEnabled())
|
||||
{
|
||||
|
@@ -1153,7 +1153,7 @@ void SystemWindow::setOptimalLayoutSize()
|
||||
void SystemWindow::DoInitialLayout()
|
||||
{
|
||||
if (GetSettings().GetStyleSettings().GetAutoMnemonic())
|
||||
ImplWindowAutoMnemonic( this );
|
||||
Accelerator::GenerateAutoMnemonicsOnHierarchy(this);
|
||||
|
||||
if (isLayoutEnabled())
|
||||
{
|
||||
|
@@ -105,7 +105,7 @@ void TabPage::StateChanged( StateChangedType nType )
|
||||
if ( nType == StateChangedType::InitShow )
|
||||
{
|
||||
if (GetSettings().GetStyleSettings().GetAutoMnemonic())
|
||||
ImplWindowAutoMnemonic( this );
|
||||
Accelerator::GenerateAutoMnemonicsOnHierarchy(this);
|
||||
// FIXME: no layouting, workaround some clipping issues
|
||||
ImplAdjustNWFSizes();
|
||||
}
|
||||
|
Reference in New Issue
Block a user