mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	ENH: [STUDIO-1478] collapse siderbar printer/filament region
Change-Id: Id0d1009f5b2c344bc2a95702d33d1d87c864b8f2
This commit is contained in:
		
							parent
							
								
									56a98390f9
								
							
						
					
					
						commit
						ca2f05e60b
					
				
					 3 changed files with 33 additions and 9 deletions
				
			
		|  | @ -213,7 +213,12 @@ Label::Label(wxWindow *parent, wxFont const &font, wxString const &text, long st | |||
|     this->font = font; | ||||
|     SetFont(font); | ||||
|     SetBackgroundColour(StaticBox::GetParentBackgroundColor(parent)); | ||||
| } | ||||
|     if (style & LB_PROPAGATE_MOUSE_EVENT) { | ||||
|         for (auto evt : { | ||||
|             wxEVT_LEFT_UP, wxEVT_LEFT_DOWN})  | ||||
|             Bind(evt, [this] (auto & e) { GetParent()->GetEventHandler()->ProcessEventLocally(e); }); | ||||
|         }; | ||||
|     } | ||||
| 
 | ||||
| void Label::SetLabel(const wxString& label) | ||||
| { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 chunmao.guo
						chunmao.guo