mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-23 04:01:49 +00:00
FIX:fix warning for icon_size define
jira: none Change-Id: I0393677c5c29354aeca41917daecc87721d9d9ce (cherry picked from commit 97584e0a1e73a0ce2152ce88c1ffd58abfc96c73)
This commit is contained in:
@@ -31,7 +31,8 @@ class wxTopLevelWindow;
|
||||
class wxRect;
|
||||
|
||||
#define wxVERSION_EQUAL_OR_GREATER_THAN(major, minor, release) ((wxMAJOR_VERSION > major) || ((wxMAJOR_VERSION == major) && (wxMINOR_VERSION > minor)) || ((wxMAJOR_VERSION == major) && (wxMINOR_VERSION == minor) && (wxRELEASE_NUMBER >= release)))
|
||||
|
||||
#define ICON_SINGLE_SIZE FromDIP(16)//don't change,if need new value,self create in cpp
|
||||
#define ICON_SIZE wxSize(FromDIP(16), FromDIP(16))//don't change,if need new value,self create in cpp
|
||||
namespace Slic3r {
|
||||
namespace GUI {
|
||||
|
||||
@@ -186,7 +187,7 @@ public:
|
||||
on_sys_color_changed();
|
||||
event.Skip();
|
||||
#endif // __WINDOWS__
|
||||
|
||||
|
||||
});
|
||||
|
||||
if (std::is_same<wxDialog, P>::value) {
|
||||
@@ -220,7 +221,7 @@ public:
|
||||
on_sys_color_changed();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
int ShowModal()
|
||||
{
|
||||
dialogStack.push_front(this);
|
||||
|
||||
Reference in New Issue
Block a user