diff options
author | Jan Holesovsky <kendy@suse.cz> | 2013-07-18 11:06:32 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-07-18 11:25:52 +0200 |
commit | 410b4319a7fb3a0a0f025a2180b0b364092da8bb (patch) | |
tree | 04ca5020f06cf80bc22df2a39fd2b512ffd0c261 /framework | |
parent | startcenter: Re-introduce code that handles accelerators. (diff) | |
download | core-410b4319a7fb3a0a0f025a2180b0b364092da8bb.tar.gz core-410b4319a7fb3a0a0f025a2180b0b364092da8bb.zip |
startcenter: No need for special GetFocus().
Change-Id: I789f21e035f864d5b7ac84700a62a1c81f53c2be
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/services/backingwindow.cxx | 9 | ||||
-rw-r--r-- | framework/source/services/backingwindow.hxx | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/framework/source/services/backingwindow.cxx b/framework/source/services/backingwindow.cxx index 950c1adde8cb..09984789da16 100644 --- a/framework/source/services/backingwindow.cxx +++ b/framework/source/services/backingwindow.cxx @@ -184,15 +184,6 @@ BackingWindow::~BackingWindow() mxPopupMenu.clear(); } -void BackingWindow::GetFocus() -{ - // CRASH - //if( IsVisible() ) - // mpWriterButton->GrabFocus(); - Window::GetFocus(); -} - - IMPL_LINK( BackingWindow, WindowEventListener, VclSimpleEvent*, pEvent ) { VclWindowEvent* pWinEvent = dynamic_cast<VclWindowEvent*>( pEvent ); diff --git a/framework/source/services/backingwindow.hxx b/framework/source/services/backingwindow.hxx index 99b005a47e5c..1c58f9e6949b 100644 --- a/framework/source/services/backingwindow.hxx +++ b/framework/source/services/backingwindow.hxx @@ -119,7 +119,6 @@ namespace framework virtual void Paint( const Rectangle& rRect ); virtual void Resize(); virtual long Notify( NotifyEvent& rNEvt ); - virtual void GetFocus(); virtual Size GetOptimalSize() const; |