File diff r13157:6b5799323a00 → r13158:008df0730a98
src/window_gui.h
Show inline comments
 
@@ -631,12 +631,22 @@ public:
 

	
 
	void DeleteChildWindows() const;
 

	
 
	void SetDirty() const;
 
	void ReInit();
 

	
 
	/**
 
	 * Mark this window's data as invalid (in need of re-computing)
 
	 * @param data The data to invalidate with
 
	 */
 
	void InvalidateData(int data = 0)
 
	{
 
		this->SetDirty();
 
		this->OnInvalidateData(data);
 
	}
 

	
 
	/*** Event handling ***/
 

	
 
	/**
 
	 * The window must be repainted.
 
	 * @note This method should not change any state, it should only use drawing functions.
 
	 */