Search found 1125 matches
- Tue Jun 28, 2022 9:17 pm
- Forum: wxCode
- Topic: wxSQLite3 craches in my case ...
- Replies: 8
- Views: 4829
Re: wxSQLite3 craches in my case ...
wxString sql=wxT("insert into "); sql+=TableName; sql+=wxT(" ( human_description , code , function , description ) values ('"); sql+=human_description; sql+=wxT("' , '"); sql+=wxString::Format(wxT("%d"),code); sql+=wxT("' , '"); sql+=funct; sql+=wxT...
- Mon Jun 06, 2022 7:06 am
- Forum: wxCode
- Topic: new wxSQLite3 version settings
- Replies: 7
- Views: 4983
Re: new wxSQLite3 version settings
Hello again, i am taking an error. Linux Mint 20.3, GCC compiller. In file sqlite3mc_amalgamation.c, in function aesGenKeyDecrypt, inlining failed to call always inline _mm_aesimc_si128 in line 256213 /usr/lib/gcc/x86_64-linux-gnu/9/include/wmmintrin.h line 77 You need to add the compiler options -...
- Fri Jun 03, 2022 9:19 pm
- Forum: wxCode
- Topic: new wxSQLite3 version settings
- Replies: 7
- Views: 4983
Re: new wxSQLite3 version settings
But i don't see encryption files like sqlite3secure.c and sqlite3secure.h As already said in my previous post the SQLite encryption extension is now managed in a separate project, SQLite3 Multiple Ciphers . wxSQLite3 uses the amalgamated sources of that project, which you find in the file sqlite3mc...
- Thu Jun 02, 2022 6:31 pm
- Forum: wxCode
- Topic: new wxSQLite3 version settings
- Replies: 7
- Views: 4983
Re: new wxSQLite3 version settings
I am using old wxSQLite3 library. [...] Question is, with new sqlcipher codes, is the same source files and dependencies? The project wxSQLite3 is now based on the new implementation of the encryption extension, SQLite3 Multiple Ciphers . However, the new implementation is included as an amalgamate...
- Mon May 23, 2022 11:22 am
- Forum: Compiler / Linking / IDE Related
- Topic: wxSQLite3 compilation problem
- Replies: 2
- Views: 581
Re: wxSQLite3 compilation problem
Problem found : folder name consistency between wxWidgets and wxSQLite3. wxWidgets compilation generates folder : \wxWidgets\lib\gcc_lib\mswu\wx IMHO the inconsistency is with wxWidgets. For 64-bit builds the build files should use the architecture suffix (wxArchSuffix) x64 , but the build files in...
- Sat Apr 09, 2022 10:07 am
- Forum: wxCode
- Topic: Crashes on OnInit with wxPDFDoc/wxWidgets
- Replies: 9
- Views: 7188
Re: Crashes on OnInit with wxPDFDoc/wxWidgets
Where are the defaults for configure listed? configure --help just lists the options with no indication of the defaults, so how do I know if options like --enable-timer are required or not? This depends on the platform. For example, the defaults for GTK you find in include/wx/gtk/setup.h . All opti...
- Fri Apr 08, 2022 9:58 pm
- Forum: wxCode
- Topic: Crashes on OnInit with wxPDFDoc/wxWidgets
- Replies: 9
- Views: 7188
Re: Crashes on OnInit with wxPDFDoc/wxWidgets
Further to a problem I raised on Stackoverflow, I am asking it here as it allows more of a conversation flow. My original question was https://stackoverflow.com/questions/71778731/wxwidgets-and-wxpdfdoc-crash-on-init It is hard to tell what might be the cause of the problem. I doubt that wxPdfDocum...
- Tue Feb 01, 2022 11:53 am
- Forum: General Forum Issues
- Topic: Try log out and log in again if you can't post due to Error "The submitted form was invalid"
- Replies: 18
- Views: 24152
Re: Try log out and log in again if you can't post due to Error "The submitted form was invalid"
Unfortunately, I have not noticed any difference. Yesterday, I was "locked out" almost all day. Today, it also took some time to be able to post. I can confirm that, unfortunately. I tried to respond to this thread yesterday, but was not able to login for hours and gave up finally. Due to...
- Sun Jan 23, 2022 11:11 am
- Forum: wxCode
- Topic: compiling wxpdfdocument on linux
- Replies: 11
- Views: 12571
Re: compiling wxpdfdocument on linux
I am trying to install your library on a newer version of ubuntu and I am having some trouble. I am hoping you can help me. This is the latest errors. user@user-desktop:~/apps/wxpdfdoc-main$ autoreconf user@user-desktop:~/apps/wxpdfdoc-main$ mkdir build-gtk user@user-desktop:~/apps/wxpdfdoc-main$ c...
- Wed Dec 22, 2021 8:48 am
- Forum: wxCode
- Topic: wxPDF: brush & pen funky with multiple rotated rectangles
- Replies: 13
- Views: 14677
Re: wxPDF: brush & pen funky with multiple rotated rectangles
I am having a hard time with Translate(). On screen, this code rotates around the middle of the element, but in the pdf around the top left point: wxAffineMatrix2D tm; tm.Translate(middle.x, middle.y); tm.Rotate(rad); gcdc->SetTransformMatrix(tm); could you verify that please? The code you show her...
- Wed Oct 27, 2021 12:27 pm
- Forum: C++ Development
- Topic: Localization with current display language
- Replies: 21
- Views: 7694
Re: Localization with current display language
And in the .cpp is the answer for German(Belgium) and German(Italy): LNG(wxLANGUAGE_GERMAN_BELGIUM, "de_BE", 0 , 0 , wxLayout_LeftToRight, "German (Belgium)") de_be language and sublanguage are set to 0 and de_it does not exist Indeed, this explains why you get "unknown lan...
- Wed Oct 27, 2021 10:37 am
- Forum: C++ Development
- Topic: Localization with current display language
- Replies: 21
- Views: 7694
Re: Localization with current display language
Yes, I think so. For example, there are major differences between Portuguese as spoken in Portugal vs Portuguese as spoken in Brazil. So, only the combination of language and region uniquely identifies the right UI language. That must be why the widgets library takes the language from the region. I...
- Wed Oct 27, 2021 9:22 am
- Forum: C++ Development
- Topic: Localization with current display language
- Replies: 21
- Views: 7694
Re: Localization with current display language
So you are saying that the language might be a combination of the display language and the region? Yes, I think so. For example, there are major differences between Portuguese as spoken in Portugal vs Portuguese as spoken in Brazil. So, only the combination of language and region uniquely identifie...
- Tue Oct 26, 2021 11:35 am
- Forum: C++ Development
- Topic: Localization with current display language
- Replies: 21
- Views: 7694
Re: Localization with current display language
I'd rather use GetSystemDefaultLocaleName instead of wxLocale::GetSystemLanguage, because it seems to return the "display language" instead of the "regional format" language. As I already explained in a prior post the behaviour you experience is most likely caused by the way you...
- Tue Oct 26, 2021 11:07 am
- Forum: C++ Development
- Topic: Localization with current display language
- Replies: 21
- Views: 7694
Re: Localization with current display language
Out of curiosity, if you are using wxWidgets master (probably not?): What does wxUILocale::GetCurrent().GetName(); return? you are right, I dont have the master. I am working mostly with wx3.1.1, because I had trouble updating to 3.1.3 and dropped the issue back then. I dont have a "uilocale.h...