mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
Added some assertions, fixed a win32 mouse mouse cursor problem, tweaked PopupMenu::showAt().
This commit is contained in:
parent
081744b177
commit
645637ab09
14 changed files with 135 additions and 119 deletions
|
|
@ -76,6 +76,12 @@ ResizableWindow::ResizableWindow (const String& name,
|
|||
|
||||
ResizableWindow::~ResizableWindow()
|
||||
{
|
||||
// Don't delete or remove the resizer components yourself! They're managed by the
|
||||
// ResizableWindow, and you should leave them alone! You may have deleted them
|
||||
// accidentally by careless use of deleteAllChildren()..?
|
||||
jassert (resizableCorner == 0 || getIndexOfChildComponent (resizableCorner) >= 0);
|
||||
jassert (resizableBorder == 0 || getIndexOfChildComponent (resizableBorder) >= 0);
|
||||
|
||||
resizableCorner = 0;
|
||||
resizableBorder = 0;
|
||||
contentComponent.deleteAndZero();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue