mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-11-04 09:44:29 +00:00 
			
		
		
		
	Examples: Main: Removed call to SetNextWindowSize()
This commit is contained in:
		@@ -67,9 +67,8 @@ int main(int, char**)
 | 
			
		||||
        // 2. Show another simple window, this time using an explicit Begin/End pair
 | 
			
		||||
        if (show_another_window)
 | 
			
		||||
        {
 | 
			
		||||
            ImGui::SetNextWindowSize(ImVec2(200,100), ImGuiCond_FirstUseEver);
 | 
			
		||||
            ImGui::Begin("Another Window", &show_another_window);
 | 
			
		||||
            ImGui::Text("Hello");
 | 
			
		||||
            ImGui::Text("Hello from another window!");
 | 
			
		||||
            ImGui::End();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user