All pastes #1802955 Raw Edit

clueless

public text v1 · immutable
#1802955 ·published 2010-02-19 19:40 UTC
rendered paste body
Index: src/common/paws/pawsyesnobox.cpp===================================================================--- src/common/paws/pawsyesnobox.cpp	(revision 5590)+++ src/common/paws/pawsyesnobox.cpp	(working copy)@@ -67,7 +67,7 @@     pawsWidget::Hide();     useCustomIDs = false; -    if(PawsManager::GetSingleton().GetCurrentFocusedWidget() == this)+    if(PawsManager::GetSingleton().GetModalWidget() == this)         PawsManager::GetSingleton().SetModalWidget( 0 );      // Reset the ID's back to defaultsIndex: src/common/paws/pawsmanager.h===================================================================--- src/common/paws/pawsmanager.h	(revision 5590)+++ src/common/paws/pawsmanager.h	(working copy)@@ -194,6 +194,9 @@      /// Returns true if the current focused widget needs to override all controls     bool GetFocusOverridesControls() { return focusOverridesControls; }+    +    /// Returns modal widget+    pawsWidget* GetModalWidget() { return modalWidget; }      /** @brief Give this widget focus.      *  @param widget The widget to focus.