projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
there is no sqrt(int) in standard C++ (although glibc seems to provide it); select...
[wxWidgets.git]
/
src
/
generic
/
panelg.cpp
diff --git
a/src/generic/panelg.cpp
b/src/generic/panelg.cpp
index e15d79bf81037271dd68ebd03b8c8d5c0fbbc32e..d714bce3c08935bc3602c6f9453b590ea8e3adb7 100644
(file)
--- a/
src/generic/panelg.cpp
+++ b/
src/generic/panelg.cpp
@@
-97,7
+97,7
@@
END_EVENT_TABLE()
// implementation
// ============================================================================
// implementation
// ============================================================================
-WX_DELEGATE_TO_CONTROL_CONTAINER(wxPanel)
+WX_DELEGATE_TO_CONTROL_CONTAINER(wxPanel
, wxWindow
)
// ----------------------------------------------------------------------------
// wxPanel creation
// ----------------------------------------------------------------------------
// wxPanel creation
@@
-105,7
+105,7
@@
WX_DELEGATE_TO_CONTROL_CONTAINER(wxPanel)
void wxPanel::Init()
{
void wxPanel::Init()
{
-
m_container.SetContainerWindow(this
);
+
WX_INIT_CONTROL_CONTAINER(
);
}
bool wxPanel::Create(wxWindow *parent, wxWindowID id,
}
bool wxPanel::Create(wxWindow *parent, wxWindowID id,