summaryrefslogtreecommitdiff
path: root/include/vcl/tabpage.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/tabpage.hxx')
-rw-r--r--include/vcl/tabpage.hxx26
1 files changed, 0 insertions, 26 deletions
diff --git a/include/vcl/tabpage.hxx b/include/vcl/tabpage.hxx
index 29af647d6cd7..9af5c1062954 100644
--- a/include/vcl/tabpage.hxx
+++ b/include/vcl/tabpage.hxx
@@ -22,35 +22,9 @@
#include <vcl/dllapi.h>
#include <vcl/builder.hxx>
-#include <vcl/weld.hxx>
#include <vcl/window.hxx>
#include <vcl/IContext.hxx>
-struct TabPageParent
-{
- TabPageParent(vcl::Window* _pParent)
- : pParent(_pParent)
- , pPage(nullptr)
- , pController(nullptr)
- {
- }
- TabPageParent(weld::Container* _pPage, weld::DialogController* _pController)
- : pParent(nullptr)
- , pPage(_pPage)
- , pController(_pController)
- {
- }
- weld::Window* GetFrameWeld() const
- {
- if (pController)
- return pController->getDialog();
- return pParent->GetFrameWeld();
- }
- VclPtr<vcl::Window> pParent;
- weld::Container* const pPage;
- weld::DialogController* pController;
-};
-
class VCL_DLLPUBLIC TabPage
: public vcl::Window
, public VclBuilderContainer