diff options
Diffstat (limited to 'scene/gui/texture_rect.h')
-rw-r--r-- | scene/gui/texture_rect.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scene/gui/texture_rect.h b/scene/gui/texture_rect.h index 77a2828fd4..e39545f679 100644 --- a/scene/gui/texture_rect.h +++ b/scene/gui/texture_rect.h @@ -28,13 +28,12 @@ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /*************************************************************************/ -#ifndef TEXTURE_FRAME_H -#define TEXTURE_FRAME_H +#ifndef TEXTURE_RECT_H +#define TEXTURE_RECT_H #include "scene/gui/control.h" class TextureRect : public Control { - GDCLASS(TextureRect, Control); public: @@ -60,7 +59,7 @@ private: protected: void _notification(int p_what); - virtual Size2 get_minimum_size() const; + virtual Size2 get_minimum_size() const override; static void _bind_methods(); public: @@ -84,4 +83,5 @@ public: }; VARIANT_ENUM_CAST(TextureRect::StretchMode); -#endif // TEXTURE_FRAME_H + +#endif // TEXTURE_RECT_H |