fix some legacy issues
This commit is contained in:
		
							parent
							
								
									a3cd37b9d5
								
							
						
					
					
						commit
						28e9bb8a7d
					
				| @ -85,13 +85,13 @@ namespace nana | ||||
| 
 | ||||
| 			bool changed() const;           ///< Returns true if the graphics object is operated
 | ||||
| 			bool empty() const;             ///< Returns true if the graphics object does not refer to any resource.
 | ||||
| 			operator const void*() const; | ||||
| 			explicit operator bool() const noexcept; | ||||
| 
 | ||||
| 			drawable_type handle() const; | ||||
| 			const void* pixmap() const; | ||||
| 			const void* context() const; | ||||
| 
 | ||||
| 			void swap(graphics& other); | ||||
| 			void swap(graphics& other) noexcept; | ||||
| 
 | ||||
| 			/// Creates a graphics/drawable resource
 | ||||
| 			/**
 | ||||
|  | ||||
| @ -269,7 +269,7 @@ namespace paint | ||||
| 			return (!impl_->handle); | ||||
| 		} | ||||
| 
 | ||||
| 		graphics::operator const void *() const | ||||
| 		graphics::operator bool() const | ||||
| 		{ | ||||
| 			return impl_->handle; | ||||
| 		} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jinhao
						Jinhao